diff options
| author | user <user@clank> | 2026-09-02 16:15:55 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-02 16:15:55 +0200 |
| commit | 07194e139fbb90cb946be4d1e50e4937dab1ce04 (patch) | |
| tree | 14effe428d98536a2c3ee262fc6b72402e17f542 /src/expr.c | |
| parent | version: never answer for somebody else's git; arch: 0.1.4-3 (diff) | |
| download | slosh-07194e139fbb90cb946be4d1e50e4937dab1ce04.tar.gz slosh-07194e139fbb90cb946be4d1e50e4937dab1ce04.tar.xz slosh-07194e139fbb90cb946be4d1e50e4937dab1ce04.zip | |
pty: fall back to xterm-256color where xterm-ghostty has no terminfo
TERM=xterm-ghostty was unconditional, but the entry ships with
ghostty and a machine that has never seen ghostty has ncurses'
database and nothing else. There, nano exits the moment it opens
(C-a e flashing a pane) and a shell that cannot look up kbs guesses
at backspace. The entry is now looked up the way curses would --
TERMINFO, ~/.terminfo, TERMINFO_DIRS, the system dirs, letter and
Darwin-hashed layouts -- and when absent, panes get xterm-256color,
which every ncurses database carries. Verified both ways with a
mount namespace hiding the database.
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions
