Implement the alternate screen buffer

This commit is contained in:
Kovid Goyal
2016-10-21 06:58:34 +05:30
parent 369bb39d2a
commit 682400c3e7
2 changed files with 36 additions and 17 deletions

View File

@@ -65,6 +65,9 @@ BRACKETED_PASTE = 2004 << 5
BRACKETED_PASTE_START = '\033[200~'.encode('ascii')
BRACKETED_PASTE_END = '\033[201~'.encode('ascii')
#: Alternate screen buffer
ALTERNATE_SCREEN = 1049 << 5
#: Xterm mouse protocol
SEND_MOUSE_ON_PRESS_AND_RELEASE = 1000 << 5
HILITE_MOUSE_TRACKING = 1001 << 5