failed CONTEXT NO_PATCH UNSUBMITTED agent_error · 13 tool calls · 20 s · Textualize/rich
fix fonts Fixes https://github.com/Textualize/rich/issues/3943
| # | Tool | Arguments | Result |
|---|---|---|---|
| 1 | run_command | {
"command": "grep -rn \"font\" . | head -20"
} | {"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; fofull{"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; font-stretch: normal; font-variant: normal; font-feature-settings: normal; src: url(\"data:font/ttf;base64,AAEAAAAQAQAABAAAR0RFRp4LlJ8AAhdoAAABdkdQT1NaRxfrAAIY4AAAFfxHU1VCvcA6eQACLtwAAFUwT1MvMmlt1xQAAZHIAAAAYFNUQVR4cGiMAAKEDAAAABxjbWFwI+mTbgABkigAADpwZ2FzcAAAABAAAhdgAAAACGdseWYLbS8pAAABDAABaVpoZWFkC8n2/gABd4QAAAA2aGhlYQM6BAMAAZGkAAAAJGhtdHjgF35pAAF3vAAAGeZsb2NhNWuROgABaogAAAz8bWF4cAbrArwAAWpoAAAAIG5hbWVz25rrAAHMoAAABIJwb3N0XaJ9IgAB0SQAAEY7cHJlcGgGjIUAAcyYAAAABwAEALT9RAP8CDQAAwAHACcAMwAAUyERISURIREBFAYjIiY1NTY2NTQmIyIHBiMiJjU0NjYzMhYWFRQGBwM0NjMyFhUUBiMiJrQDSPy4Atz9kgFEIBITH2xKL0s5Lw8LFho9VidWYSdZZXgoHh4oKB4eKAg09RBoCiD14AOuFhoaFqgGRU87TxYGGxMbIhFBaTxpdA/+9h4oKB4fKysAAAIAPAAABHQFXgAHAAoAAEEhAyMBMwEjASEDA3f9tnl4AcepAciE/WgB9fkBb/6RBV76ogHjAwT//wA8AAAEdAb4BiYAAQAAAAYGNAoA//8APAAABHQG4wYmAAEAAAAGBjX9AP//ADwAAAR0BwoGJgABAAAABgY4AAD//wA8AAAEdAa6BiYAAQAAAAYGOQQA//8APAAABHQHAQYmAAEAAAAGBjsEAP//ADwAAAR0BqQGJgABAAAABgY9BAD//wA8/kMEdAVeBiYAAQAAAAcGMAERAAD//wA8AAAEdAdCBiYAAQAAAAYGPgQA//8APAAABHQG5wYmAAEAAAAGBj8EAAAC/+gAAATCBV4ADwASAABBIQMjASEHIRMhFSETIRUhASEDAp3+Q3CIAaQC4RH+CXABhv6RcQFl/iv+IwFuoAFt/pMFXnX+C3X99nUB5wMH////6AAABMIG+AYmAAsAAAAHBjQAiwAAAAMA2QAABCQFXgALABQAKQAAQTQmJiMhESEyPgIDNCYjIxEzMjYTFA4CIyERITIeAhUUBgYHHgIDm1iPU/73AQMzcGE8N56C7P9/jsBYkbFa/qkBNVaoiVNKdUFNkV4BeXJ5Lv3hFThnAtyAa/4ddv4EbpZaJwVeIE6GZVp8SQ4NRYsAAAEAkP/sBGIFcQAdAABBMhYXByYmIyIGAhUUEhYzMjY3FwYGIyIkAjU0EiQCzIOuUE5Dk094z354y3x3mTZIOsOPof73nJ8BBQVxQUBZOS1u/v/f2f7+ckQtXDhTowE75egBOqAA//8AkP/sBGIG+AYmAA4AAAAHBjQAkAAA//8AkP/sBGIG+AYmAA4AAAAHBjYAhgAA//8AkP4xBGIFcQYmAA4AAAAGBjdiAP//AJD/7ARiBwoGJgAOAAAABwY4AIYAAP//AJD/7ARiBuEGJgAOAAAABwY6AIoAAAACALoAAAREBV4ADAAZAABBNC4CIyMRMzI+AjcUAgYGIyERITIWFhIDuVWInUm9wEydhVKLcLfUZf7WARV14LVrArbA43Ak+4EwfuW12v7vlDcFXjWR/vUAAwAvAAAEVQVeAAMAEAAdAABBFSE1BTQuAiMjETMyPgI3FAIGBiMhESEyFhYSAp39kgObVYidSb3ATJ2FUotwt9Rl/tYBFXXg |
| 2 | run_command | {
"command": "grep -rn \"font\" . --exclude=*.svg | head -20"
} | {"status": "ok", "stdout": "./CHANGELOG.md:175:- Ensure font is correctly inherited in exported HTML https://github.com/Textualize/rich/issues/3104\n./CHANGELOGfull{"status": "ok", "stdout": "./CHANGELOG.md:175:- Ensure font is correctly inherited in exported HTML https://github.com/Textualize/rich/issues/3104\n./CHANGELOG.md:360:- Add `font_aspect_ratio` parameter in SVG export https://github.com/Textualize/rich/pull/2539/files\n./README.pt-br.md:29:A [API do Rich](https://rich.readthedocs.io/en/latest/) permite adicionar cores e estilos no output do terminal de forma f\u00e1cil. Rich tamb\u00e9m permite formata\u00e7ao de tabelas, barra de progresso, markdown, highlight de sintaxe de c\u00f3digo fonte, rastreio de erros (traceback) e muito mais.\n./tests/test_style.py:128: expected = \"color: #7f7fbf; text-decoration-color: #7f7fbf; background-color: #800000; font-weight: bold; font-style: italic; text-decoration: underline; text-decoration: line-through; text-decoration: overline\"\n./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff00ff; text-decoration-color: #ff00ff; font-weight: bold}\\n.r3 {color: #008000; text-decoration-color: #008000; font-weight: bold}\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span class=\"r1\">foo <</span><span class=\"r2\">script</span><span class=\"r1\">> </span><span class=\"r3\">'test'</span><span class=\"r1\"> </span><a class=\"r1\" href=\"https://example.org\">Click</a>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:527: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span style=\"font-weight |
| 3 | run_command | {
"command": "grep -rn \"font-family\" . | head -20"
} | {"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; fofull{"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; font-stretch: normal; font-variant: normal; font-feature-settings: normal; src: url(\"data:font/ttf;base64,AAEAAAAQAQAABAAAR0RFRp4LlJ8AAhdoAAABdkdQT1NaRxfrAAIY4AAAFfxHU1VCvcA6eQACLtwAAFUwT1MvMmlt1xQAAZHIAAAAYFNUQVR4cGiMAAKEDAAAABxjbWFwI+mTbgABkigAADpwZ2FzcAAAABAAAhdgAAAACGdseWYLbS8pAAABDAABaVpoZWFkC8n2/gABd4QAAAA2aGhlYQM6BAMAAZGkAAAAJGhtdHjgF35pAAF3vAAAGeZsb2NhNWuROgABaogAAAz8bWF4cAbrArwAAWpoAAAAIG5hbWVz25rrAAHMoAAABIJwb3N0XaJ9IgAB0SQAAEY7cHJlcGgGjIUAAcyYAAAABwAEALT9RAP8CDQAAwAHACcAMwAAUyERISURIREBFAYjIiY1NTY2NTQmIyIHBiMiJjU0NjYzMhYWFRQGBwM0NjMyFhUUBiMiJrQDSPy4Atz9kgFEIBITH2xKL0s5Lw8LFho9VidWYSdZZXgoHh4oKB4eKAg09RBoCiD14AOuFhoaFqgGRU87TxYGGxMbIhFBaTxpdA/+9h4oKB4fKysAAAIAPAAABHQFXgAHAAoAAEEhAyMBMwEjASEDA3f9tnl4AcepAciE/WgB9fkBb/6RBV76ogHjAwT//wA8AAAEdAb4BiYAAQAAAAYGNAoA//8APAAABHQG4wYmAAEAAAAGBjX9AP//ADwAAAR0BwoGJgABAAAABgY4AAD//wA8AAAEdAa6BiYAAQAAAAYGOQQA//8APAAABHQHAQYmAAEAAAAGBjsEAP//ADwAAAR0BqQGJgABAAAABgY9BAD//wA8/kMEdAVeBiYAAQAAAAcGMAERAAD//wA8AAAEdAdCBiYAAQAAAAYGPgQA//8APAAABHQG5wYmAAEAAAAGBj8EAAAC/+gAAATCBV4ADwASAABBIQMjASEHIRMhFSETIRUhASEDAp3+Q3CIAaQC4RH+CXABhv6RcQFl/iv+IwFuoAFt/pMFXnX+C3X99nUB5wMH////6AAABMIG+AYmAAsAAAAHBjQAiwAAAAMA2QAABCQFXgALABQAKQAAQTQmJiMhESEyPgIDNCYjIxEzMjYTFA4CIyERITIeAhUUBgYHHgIDm1iPU/73AQMzcGE8N56C7P9/jsBYkbFa/qkBNVaoiVNKdUFNkV4BeXJ5Lv3hFThnAtyAa/4ddv4EbpZaJwVeIE6GZVp8SQ4NRYsAAAEAkP/sBGIFcQAdAABBMhYXByYmIyIGAhUUEhYzMjY3FwYGIyIkAjU0EiQCzIOuUE5Dk094z354y3x3mTZIOsOPof73nJ8BBQVxQUBZOS1u/v/f2f7+ckQtXDhTowE75egBOqAA//8AkP/sBGIG+AYmAA4AAAAHBjQAkAAA//8AkP/sBGIG+AYmAA4AAAAHBjYAhgAA//8AkP4xBGIFcQYmAA4AAAAGBjdiAP//AJD/7ARiBwoGJgAOAAAABwY4AIYAAP//AJD/7ARiBuEGJgAOAAAABwY6AIoAAAACALoAAAREBV4ADAAZAABBNC4CIyMRMzI+AjcUAgYGIyERITIWFhIDuVWInUm9wEydhVKLcLfUZf7WARV14LVrArbA43Ak+4EwfuW12v7vlDcFXjWR/vUAAwAvAAAEVQVeAAMAEAAdAABBFSE1BTQuAiMjETMyPgI3FAIGBiMhESEyFhYSAp39kgObVYidSb3ATJ2FUotwt9Rl/tYBFXXg |
| 4 | run_command | {
"command": "grep -rn \"font-family\" . --exclude=*.svg | head -20"
} | {"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: full{"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff00ff; text-decoration-color: #ff00ff; font-weight: bold}\\n.r3 {color: #008000; text-decoration-color: #008000; font-weight: bold}\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span class=\"r1\">foo <</span><span class=\"r2\">script</span><span class=\"r1\">> </span><span class=\"r3\">'test'</span><span class=\"r1\"> </span><a class=\"r1\" href=\"https://example.org\">Click</a>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:527: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span style=\"font-weight: bold\">foo </span><span style=\"font-weight: bold\"><a href=\"https://example.org\">Click</a></span>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:531:EXPECTED_SVG = '<svg class=\"rich-terminal\" viewBox=\"0 0 1238 74.4\" xmlns=\"http://www.w3.org/2000/svg\">\\n <!-- Generated with Rich https://www.textualize.io -->\\n <style>\\n\\n @font-face {\\n font-family: \"Fira Code\";\\n src: local(\"FiraCode-Regular\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\\n font-style: normal;\\n font-weight: 400;\\n }\\n @font-face {\\n fo |
| 5 | run_command | {
"command": "grep -rn \"font-family\" . --exclude=*.svg | grep \"rich\" | head -20"
} | {"status": "ok", "stdout": "./tests/test_console.py:531:EXPECTED_SVG = '<svg class=\"rich-terminal\" viewBox=\"0 0 1238 74.4\" xmlns=\"http://www.w3.org/2000/svfull{"status": "ok", "stdout": "./tests/test_console.py:531:EXPECTED_SVG = '<svg class=\"rich-terminal\" viewBox=\"0 0 1238 74.4\" xmlns=\"http://www.w3.org/2000/svg\">\\n <!-- Generated with Rich https://www.textualize.io -->\\n <style>\\n\\n @font-face {\\n font-family: \"Fira Code\";\\n src: local(\"FiraCode-Regular\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\\n font-style: normal;\\n font-weight: 400;\\n }\\n @font-face {\\n font-family: \"Fira Code\";\\n src: local(\"FiraCode-Bold\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2\") format(\"woff2\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff\") format(\"woff\");\\n font-style: bold;\\n font-weight: 700;\\n }\\n\\n .terminal-3526644552-matrix {\\n font-family: Fira Code, monospace;\\n font-size: 20px;\\n line-height: 24.4px;\\n font-variant-east-asian: full-width;\\n }\\n\\n .terminal-3526644552-title {\\n font-size: 18px;\\n font-weight: bold;\\n font-family: arial;\\n }\\n\\n .terminal-3526644552-r1 { fill: #608ab1;font-weight: bold }\\n.terminal-3526644552-r2 { fill: #c5c8c6 }\\n </style>\\n\\n <defs>\\n <clipPath id=\"terminal-3526644552-clip-terminal\">\\n <rect x=\"0\" y=\"0\" width=\"1219.0\" height=\"23.4\" />\\n </clipPath>\\n \\n </defs>\\n\\n <rect fill=\"#292929\" stroke=\"rgba(255,255,255,0.35)\" stroke-width=\"1\" x=\"1\" y=\"1\" width=\"1236\" height=\"72.4\" rx=\"8\"/><text class=\"terminal-3526644552-title\" fill=\"#c5c8c6\" text-anchor=\"middle\" x=\"618\" y=\"27\">Rich</text>\\n <g transform=\"tran |
| 6 | read_file | {
"filepath": "rich/_export_format.py",
"start_line": 1,
"end_line": 60
} | {"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<sfull{"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<style>\n{stylesheet}\nbody {{\n color: {foreground};\n background-color: {background};\n}}\n</style>\n</head>\n<body>\n <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><code style=\"font-family:inherit\">{code}</code></pre>\n</body>\n</html>\n\"\"\"\n\nCONSOLE_SVG_FORMAT = \"\"\"\\\n<svg class=\"rich-terminal\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n <!-- Generated with Rich https://www.textualize.io -->\n <style>\n\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Regular\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\n font-style: normal;\n font-weight: 400;\n }}\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Bold\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff\") format(\"woff\");\n font-style: bold;\n font-weight: 700;\n }}\n\n .{unique_id}-matrix {{\n font-family: Fira Code, monospace;\n font-size: {char_height}px;\n line-height: {line_height}px;\n font-variant-east-asian: full-width;\n }}\n\n .{unique_id}-title {{\n font-size: 18px;\n font-weight: bold;\n font-family: arial;\n }}\n\n {styles}\n </style>\n\n <defs>\n <clipPath id=\"{unique_id}-clip-terminal\">\n <rect x=\"0\" y=\"0\" width=\"{terminal_width}\" height=\"{terminal_height}\" />\n", "start |
| 7 | run_command | {
"command": "grep -rn \"font-family\" rich/jupyter.py"
} | {"status": "ok", "stdout": "14:<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monosfull{"status": "ok", "stdout": "14:<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">{code}</pre>\n", "exit_code": 0} |
| 8 | read_file | {
"end_line": 20,
"filepath": "rich/jupyter.py",
"start_line": 1
} | {"status": "ok", "filepath": "rich/jupyter.py", "content": "from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Sequence\n\nif TYPE_CHECKING:\n from rifull{"status": "ok", "filepath": "rich/jupyter.py", "content": "from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Sequence\n\nif TYPE_CHECKING:\n from rich.console import ConsoleRenderable\n\nfrom . import get_console\nfrom .segment import Segment\nfrom .terminal_theme import DEFAULT_TERMINAL_THEME\n\nif TYPE_CHECKING:\n from rich.console import ConsoleRenderable\n\nJUPYTER_HTML_FORMAT = \"\"\"\\\n<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">{code}</pre>\n\"\"\"\n\n\nclass JupyterRenderable:\n \"\"\"A shim to write html to Jupyter notebook.\"\"\"\n\n", "start_line": 1, "end_line": 20, "total_lines": 101, "is_truncated": false} |
| 9 | run_command | {
"command": "grep -rn \"font-family\" . | grep \"Menlo\""
} | {"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: full{"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff00ff; text-decoration-color: #ff00ff; font-weight: bold}\\n.r3 {color: #008000; text-decoration-color: #008000; font-weight: bold}\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span class=\"r1\">foo <</span><span class=\"r2\">script</span><span class=\"r1\">> </span><span class=\"r3\">'test'</span><span class=\"r1\"> </span><a class=\"r1\" href=\"https://example.org\">Click</a>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:527: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span style=\"font-weight: bold\">foo </span><span style=\"font-weight: bold\"><a href=\"https://example.org\">Click</a></span>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:580: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\">foo\\n</code></pre>\\n</body>\\n</html>\\n'\n./docs/source/console.rst:67: <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #7fbfbf\">[16:32:08] </span>Hello, World! <span style=\"color: #7f7f7f\"><stdin>:1</spa |
| 10 | run_command | {
"command": "grep -rn \"font-family\" . | grep \"monospace\" | head -20"
} | {"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: full{"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff00ff; text-decoration-color: #ff00ff; font-weight: bold}\\n.r3 {color: #008000; text-decoration-color: #008000; font-weight: bold}\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span class=\"r1\">foo <</span><span class=\"r2\">script</span><span class=\"r1\">> </span><span class=\"r3\">'test'</span><span class=\"r1\"> </span><a class=\"r1\" href=\"https://example.org\">Click</a>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:527: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span style=\"font-weight: bold\">foo </span><span style=\"font-weight: bold\"><a href=\"https://example.org\">Click</a></span>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:531:EXPECTED_SVG = '<svg class=\"rich-terminal\" viewBox=\"0 0 1238 74.4\" xmlns=\"http://www.w3.org/2000/svg\">\\n <!-- Generated with Rich https://www.textualize.io -->\\n <style>\\n\\n @font-face {\\n font-family: \"Fira Code\";\\n src: local(\"FiraCode-Regular\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\\n font-style: normal;\\n font-weight: 400;\\n }\\n @font-face {\\n fo |
| 11 | run_command | {
"command": "grep -rn \"font-family\" . | grep \"Menlo\" | grep \"rich/\""
} | {"status": "ok", "stdout": "./rich/jupyter.py:14:<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'full{"status": "ok", "stdout": "./rich/jupyter.py:14:<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">{code}</pre>\n./rich/_export_format.py:15: <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><code style=\"font-family:inherit\">{code}</code></pre>\n", "exit_code": 0} |
| 12 | run_command | {
"command": "grep -rn \"font-family\" . | grep \"Menlo\" | grep \"tests/\""
} | {"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: full{"status": "ok", "stdout": "./tests/test_console.py:518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff00ff; text-decoration-color: #ff00ff; font-weight: bold}\\n.r3 {color: #008000; text-decoration-color: #008000; font-weight: bold}\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span class=\"r1\">foo <</span><span class=\"r2\">script</span><span class=\"r1\">> </span><span class=\"r3\">'test'</span><span class=\"r1\"> </span><a class=\"r1\" href=\"https://example.org\">Click</a>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:527: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span style=\"font-weight: bold\">foo </span><span style=\"font-weight: bold\"><a href=\"https://example.org\">Click</a></span>\\n</code></pre>\\n</body>\\n</html>\\n'\n./tests/test_console.py:580: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\">foo\\n</code></pre>\\n</body>\\n</html>\\n'\n", "exit_code": 0} |
| 13 | run_command | {
"command": "grep -rn \"font-family\" tests/test_console.py | head -20"
} | {"status": "ok", "stdout": "518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff0full{"status": "ok", "stdout": "518: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n.r1 {font-weight: bold}\\n.r2 {color: #ff00ff; text-decoration-color: #ff00ff; font-weight: bold}\\n.r3 {color: #008000; text-decoration-color: #008000; font-weight: bold}\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span class=\"r1\">foo <</span><span class=\"r2\">script</span><span class=\"r1\">> </span><span class=\"r3\">'test'</span><span class=\"r1\"> </span><a class=\"r1\" href=\"https://example.org\">Click</a>\\n</code></pre>\\n</body>\\n</html>\\n'\n527: expected = '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<style>\\n\\nbody {\\n color: #000000;\\n background-color: #ffffff;\\n}\\n</style>\\n</head>\\n<body>\\n <pre style=\"font-family:Menlo,\\'DejaVu Sans Mono\\',consolas,\\'Courier New\\',monospace\"><code style=\"font-family:inherit\"><span style=\"font-weight: bold\">foo </span><span style=\"font-weight: bold\"><a href=\"https://example.org\">Click</a></span>\\n</code></pre>\\n</body>\\n</html>\\n'\n531:EXPECTED_SVG = '<svg class=\"rich-terminal\" viewBox=\"0 0 1238 74.4\" xmlns=\"http://www.w3.org/2000/svg\">\\n <!-- Generated with Rich https://www.textualize.io -->\\n <style>\\n\\n @font-face {\\n font-family: \"Fira Code\";\\n src: local(\"FiraCode-Regular\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\\n font-style: normal;\\n font-weight: 400;\\n }\\n @font-face {\\n font-family: \"Fira Code\";\\n src: local(\"FiraCode-Bold\"),\\n |