diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-23 16:27:02 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-23 16:27:02 +0300 |
commit | f7a11166d4a376867235bee213eeffddc05a8d78 (patch) | |
tree | fd08364273a562d53452c8f922bb492815b0d07d /src/interface-gtk | |
parent | c2cdafdd5c92f8caa4701257ba91dd7915054fbe (diff) | |
download | sciteco-f7a11166d4a376867235bee213eeffddc05a8d78.tar.gz |
ncurses: support the window title on XTerm-like emulators
* Many terminal emulators won't have the status-line terminfo capabilities
but still support OSC-0 escape sequences for setting the window title.
This affects the real XTerm, rxvt-based and many emulators that claim to be
XTerm via $TERM (e.g. GNOME Console).
* It seems we can safely assume that any emulator with $TERM beginning with "xterm" or
"rxvt" does in fact have OSC-0 or at least ignores it.
The number of whitelisted emulators might be extended later on.
This way, we don't have to add another ED flag.
* We still give precendence to the to_status_line/from_status_line capabilities
if they are in terminfo.
Diffstat (limited to 'src/interface-gtk')
0 files changed, 0 insertions, 0 deletions