Bug 514293 - Wishlist: Konsole CSI Private Mode 2031 Support
Summary: Wishlist: Konsole CSI Private Mode 2031 Support
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: emulation (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-07 20:00 UTC by mbagnara
Modified: 2026-01-07 20:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mbagnara 2026-01-07 20:00:15 UTC
SUMMARY
Greetings developers,
Terminal color schemes are commonly being integrated with external (global Dark/Light) color schemes. Often programs running inside the terminal need to be aware of the terminal's color scheme. An example of this would be NeoVim which is able to query the terminal for this preference in order for it to better match the system's preferred color scheme.

A standard being adopted by terminals such as 
Foot: https://codeberg.org/dnkl/foot/pulls/2075
tmux: https://github.com/tmux/tmux/issues/4269

https://github.com/contour-terminal/contour/blob/f3c3334aa5c861348c5bbe8ffe572c872eef2e08/docs/vt-extensions/color-palette-update-notifications.md

STEPS TO REPRODUCE
1. Terminal program emits CSI ? 997 ; 1 n/CSI ? 997 ; 2 n



OBSERVED RESULT
Konsole does not observe these escape codes

EXPECTED RESULT
1. Konsole responds with the CSI ? 997 ; 1 n 	DSR reply to indicate dark mode or CSI ? 997 ; 2 n 	DSR reply to indicate light mode

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 165H
Memory: 64 GiB of RAM (62.2 GiB usable)
Graphics Processor: Intel® Arc

ADDITIONAL INFORMATION