]> code.delx.au - dotfiles/commitdiff
screen: Fixed alt-screen support
authorJames Bunton <jamesbunton@delx.net.au>
Wed, 29 Jul 2015 12:28:42 +0000 (22:28 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Wed, 29 Jul 2015 12:29:15 +0000 (22:29 +1000)
.screenrc

index 28e40cfd55d718c70f5a68d263d5b89d9089ce03..1f4c2d4ce4b8b878578ef0d1586454667aa7346c 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -15,3 +15,5 @@ bindkey -k kb stuff ^?
 # Set the hardstatus prop on gui terms to set the titlebar/icon title
 termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
 
+# Fix alternate screen support, for some reason this doesn't get read from terminfo correctly
+termcapinfo xterm* ti=\E[?1049h:te=\E[?1049l