more screen support

This commit is contained in:
Adam D. Ruppe 2020-05-27 10:42:18 -04:00
parent 721d99825e
commit b95b0e2d6a
1 changed files with 5 additions and 1 deletions

View File

@ -343,7 +343,7 @@ vt|vt100|DEC vt100 compatible:\
# Entry for an xterm. Insert mode has been disabled.
vs|xterm|tmux|tmux-256color|xterm-kitty|screen|screen.xterm|screen.xterm-256color|xterm-color|xterm-256color|vs100|xterm terminal emulator (X Window System):\
vs|xterm|tmux|tmux-256color|xterm-kitty|screen|screen.xterm|screen-256color|screen.xterm-256color|xterm-color|xterm-256color|vs100|xterm terminal emulator (X Window System):\
:am:bs:mi@:km:co#80:li#55:\
:im@:ei@:\
:cl=\E[H\E[J:\
@ -751,6 +751,10 @@ struct Terminal {
// almost always
if(t.indexOf("xterm") != -1)
t = "xterm";
if(t.indexOf("tmux") != -1)
t = "tmux";
if(t.indexOf("screen") != -1)
t = "screen";
termcapData = getTermcapDatabase(t);
}