Permalink
Browse files

256 color support in screen

  • Loading branch information...
ryanmce committed Mar 13, 2014
1 parent 72f7ee1 commit bd2d22c5587c71881f4f6fda3d56099357c4a862
Showing with 6 additions and 2 deletions.
  1. +6 −2 screenrc
View
@@ -10,9 +10,13 @@ hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}'
#defhstatus "screen ^E (^Et) | $PWD@^EH"
+# enable 256 color
+attrcolor b ".I"
+defbce "on"
+
# don't resize screen on start
-termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
-terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+#termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l:Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=screen:'
#bindkey -k F1 prev # F11
#bindkey -k F2 next # F12

0 comments on commit bd2d22c

Please sign in to comment.