|
d1111e23a1
|
Fix output.safe_write() in connection with NamedTemporaryFile
Fixes: AttributeError: '_io.BufferedRandom' object has no attribute 'buffer'
|
2024-04-17 10:57:59 +02:00 |
|
|
d2503fbf49
|
Modernize output.run_pager()
|
2024-04-17 10:57:59 +02:00 |
|
|
861a362622
|
Move run_pager() and get_default_pager() from 'core' to 'output' module
|
2024-04-17 10:57:59 +02:00 |
|
|
f9b17347da
|
Improve sanitize_text() to keep selected CSI escape sequences
|
2024-03-07 17:30:29 +01:00 |
|
|
2d5399442d
|
Fix output.tty.IS_INTERACTIVE when os.isatty() throws OSError
|
2024-03-07 12:00:03 +01:00 |
|
|
e332099544
|
Update list of color codes in 'output.tty' module
|
2024-03-07 12:00:03 +01:00 |
|
|
c0c05319d0
|
Move removing control characters to output.sanitize_text()
|
2024-03-07 12:00:03 +01:00 |
|
|
88f7dc517b
|
Extend output.print_msg() to accept 'error' and 'warning' values of 'to_print' argument
|
2024-03-05 16:45:52 +01:00 |
|
|
866d178345
|
Move print_msg() to the 'osc.output' module
|
2024-03-05 16:45:52 +01:00 |
|
|
52d014d24d
|
New get_user_input() function for consistent handling of user input.
The available answers are provided in a dictionary and the prompt is
generated from them.
Also, answers are higlighted if the terminal supports it.
|
2024-02-08 14:33:28 +01:00 |
|
|
c8fad57151
|
Add 'output' module for handling console output
|
2023-06-02 15:58:31 +02:00 |
|