################################################################################
# How to set the foreground and background colours.
termcapinfo putty*|rxvt-unicode|xterm-* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm'
+# How to resize the window.
+termcapinfo putty*|rxvt-unicode|xterm-* 'WS=\E[8;%d;%dt'
# How to set the hardstatus line (ie title bar). Even though we don't use it.
termcapinfo xterm* 'ts=\E]0;:fs=\007:ds=\E]0;\007'
# Allow PgUp/PgDn to work correctly.