Skip to content

Conversation

@beeender
Copy link
Owner

To disable unnecessary backend terminal output to the stderr.

There are some annoying but harmless logs from kitty like:

"""
[0.201] The output buffer does not support sRGB color encoding, colors will be incorrect.
[0.321] [PARSE ERROR] Escape codes to resize text area are not supported
"""

which are printed all the time. See:
kovidgoyal/kitty#7409
kovidgoyal/kitty#8545

Just give user an options to disable the stderr output. The error log
will be disabled if the options is true and the log level is above
DEBUG.

(Have thought about adding a log filter to specific backend, but it
seems to be over-designed.)

beeender added 2 commits May 27, 2025 17:31
To disable unnecessary backend terminal output to the stderr.

There are some annoying but harmless logs from kitty like:

"""
[0.201] The output buffer does not support sRGB color encoding, colors will be incorrect.
[0.321] [PARSE ERROR] Escape codes to resize text area are not supported
"""

which are printed all the time. See:
kovidgoyal/kitty#7409
kovidgoyal/kitty#8545

Just give user an options to disable the stderr output. The error log
will be disabled if the options is true and the log level is above
DEBUG.

(Have thought about adding a log filter to specific backend, but it
seems to be over-designed.)
@beeender beeender merged commit 1f72b1a into master May 27, 2025
1 check passed
@beeender beeender deleted the mc/omit_stderr branch May 27, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants