aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-23 16:27:02 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-23 16:27:02 +0300
commitf7a11166d4a376867235bee213eeffddc05a8d78 (patch)
treefd08364273a562d53452c8f922bb492815b0d07d /src/interface.h
parentc2cdafdd5c92f8caa4701257ba91dd7915054fbe (diff)
downloadsciteco-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.h')
0 files changed, 0 insertions, 0 deletions