Will McGugan
0ab2467297
TTY_INTERACTIVE env var
2025-06-20 21:23:40 +01:00
zackzack38
6c48a5c2e3
Fix small typo in comments
2025-06-20 14:34:53 +00:00
Will McGugan
82afcb4ff5
test fixes
2025-06-18 08:29:31 +01:00
Will McGugan
9175392a5c
New environment var
2025-03-28 11:37:27 +00:00
Will McGugan
7022e20224
Test fixes
2024-09-30 17:45:26 +01:00
Will McGugan
a3b27a3aba
Fix record and capture
2024-08-26 15:45:22 +01:00
Will McGugan
2d7a94d748
handle broken pipe
2024-08-26 13:31:01 +01:00
Will McGugan
93ad3197e7
comment
2024-08-26 11:03:24 +01:00
Will McGugan
2a7a291508
console test
2024-08-26 10:48:30 +01:00
AaronBeaudoin
92e7164773
Fix #3104 ( #3105 )
...
* Fix #3104
* Fixing tests to account for new inline styles in HTML export
* Update changelog
* Add Aaron Beaudoin to contributors file.
---------
Co-authored-by: Darren Burns <darrenb900@gmail.com>
2023-11-07 17:04:31 +00:00
Dave Pearson
3cf74dd1ae
Update the export tests for the new template
2023-07-20 11:09:44 +01:00
Will McGugan
bd4cffb544
test for windows
2023-04-12 17:41:16 +01:00
Will McGugan
00181151a4
fix for is_terminal
2023-04-12 17:34:32 +01:00
Will McGugan
178bbb97d1
Merge branch 'master' into jupyter-console
2023-03-04 10:18:19 +00:00
Will McGugan
c2df987b18
fix pre output
2023-03-04 09:57:32 +00:00
Min RK
1ebf82300f
avoid FORCE_COLOR implying a terminal in Jupyter
2023-02-12 23:57:12 +01:00
Timothée Mazzucotelli
b20c233faa
fixup! Update HTML format (reverse pre and code tags)
2022-11-12 19:23:27 +01:00
Ash Berlin-Taylor
65bdea6aff
Add support for specifying (persistent) id for SVG exports
2022-09-23 14:12:33 +01:00
Will McGugan
0099f505c3
Merge pull request #2538 from onlyacat/fix_default_ensure_ascii
...
fix default value of ensure_ascii to match comments
2022-09-23 14:08:13 +01:00
Will McGugan
d8f6569781
fix svg test
2022-09-23 13:49:25 +01:00
Z.H
68cd446183
format the style.
2022-09-22 14:48:37 +08:00
Z.H
32def19a2a
fix default ensure_ascii value to match docs.
2022-09-22 14:31:42 +08:00
Will McGugan
4472ce441a
added test
2022-09-19 15:17:29 +01:00
Darren Burns
f99633793a
Test to ensure FORCE_COLOR works with empty value
2022-09-08 13:33:05 +01:00
Darren Burns
97bffbc7b1
Test to ensure NullFile set as Console.file when stdout null
2022-09-08 11:30:05 +01:00
Darren Burns
ffe9ae82f6
Supporting no stdout, tests
2022-09-07 15:26:05 +01:00
Darren Burns
2ef0c30905
Fix issue with NO_COLOR, add test for Console with no file
2022-09-07 14:13:00 +01:00
Darren Burns
f417474dc1
Add test for force color
2022-08-05 15:37:25 +01:00
Darren Burns
3c1159d2e8
Ensure the correct stuff is written to stdout when recording and capturing
2022-06-16 10:27:05 +01:00
Darren Burns
051dd0452c
Fix interaction between Console capture and record
2022-06-15 17:07:04 +01:00
Will McGugan
6b824b6477
test fix
2022-05-24 07:30:25 +01:00
Will McGugan
2d44195482
svg fixes
2022-05-23 16:54:07 +01:00
Will McGugan
b423f742ad
refinements to SVG out
2022-05-23 09:43:12 +01:00
Will McGugan
bcf6cff58d
test fix
2022-05-08 15:40:48 +01:00
Will McGugan
1e0e33e944
tweaked backgorund and border of terminal
2022-05-08 15:37:30 +01:00
Will McGugan
4761fa9eeb
fix test
2022-05-08 12:16:23 +01:00
Darren Burns
5a999f49f9
Render height fix ( #2246 )
...
* Fix issue where height - totalvpad < 0 would cause render_lines crash
* Update changelog
2022-05-03 13:23:43 +01:00
Will McGugan
95db6abced
made dim less dim
2022-05-03 10:32:13 +01:00
Will McGugan
fd6dea6356
fix tests
2022-05-03 10:19:58 +01:00
Will McGugan
95049662d6
fix background
2022-05-02 20:18:28 +01:00
Will McGugan
b290fdcc55
no hash
2022-05-02 20:07:50 +01:00
Will McGugan
79a4245cd1
tweaks
2022-05-02 19:52:21 +01:00
Will McGugan
7f8565c10a
tweaks
2022-05-02 17:44:20 +01:00
Will McGugan
113997ac51
SVG output
2022-05-02 16:20:23 +01:00
Darren Burns
8a9e9a2022
SVG export - Safari - Prevent box appearing on rounded corners ( #2201 )
...
* Use box-shadow instead of outline for Safari support
* Update changelog re Safari SVG export square corner bug
2022-04-20 09:53:26 +01:00
Darren Burns
cb56ec7ebb
Setting terminal window title ( #2200 )
...
* Adding tests for setting console title
* Add Windows note
* Update changelog regarding changing terminal window title
* Add test for window title control code -> legacy windows conversion
* Fix docstring typo
2022-04-19 17:20:17 +01:00
Will McGugan
e3fdf33043
Merge pull request #2170 from Textualize/console-svg-isolate-css-selectors-and-font-name
...
[console] namespace SVG elements to avoid conflicts with surrounding HTML page
2022-04-06 13:45:53 +01:00
Olivier Philippon
d98d671c49
Fall back to sys.__stderr__
on non-Windows OS to get size
...
This fixes the "pipe" bug, where we could not determine the available size correctly when the output of Rich is piped to another process
2022-04-06 11:37:56 +01:00
Olivier Philippon
b4ec058305
[console] SVG elements namespacing is now done with a hash of the content
2022-04-06 09:46:19 +01:00
Olivier Philippon
55c80fbeb1
[console] PR feedback on SVG elements namespacing
2022-04-05 16:29:32 +01:00