aboutsummaryrefslogtreecommitdiffhomepage
path: root/TODO
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 /TODO
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 'TODO')
-rw-r--r--TODO4
1 files changed, 0 insertions, 4 deletions
diff --git a/TODO b/TODO
index b2aab0f..4ab28df 100644
--- a/TODO
+++ b/TODO
@@ -92,10 +92,6 @@ Known Bugs:
There is also MoveFileEx(file, NULL, MOVEFILE_DELAY_UNTIL_REBOOT).
* Windows has file system forks, but they can be orphaned just
like ordinary files but are harder to locate and clean up manually.
- * Setting window title is broken on ncurses/XTerm.
- The necessary capabilities are usually not in the Terminfo database.
- Perhaps do some XTerm magic here. We can also restore
- window titles on exit using XTerm.
* The XTerm OSC-52 clipboard feature appears to garble Unicode characters.
This is apparently an XTerm bug, probably due to 8-bit-uncleanliness.
It was verified by `printf "\e]52;c;?\a"` on the command line.