mirror of https://github.com/tstack/lnav
Add test cases for cursor mode
parent
ea5d59e7e2
commit
4d7f929d9a
@ -0,0 +1,70 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋+Hello x┋
|
||||
A └┛ alt
|
||||
S 2 ┋World! x┋
|
||||
A └┛ alt
|
||||
S 3 ┋ x┋
|
||||
A └┛ alt
|
||||
S 4 ┋ x┋
|
||||
A └┛ alt
|
||||
S 5 ┋ x┋
|
||||
A └┛ alt
|
||||
S 6 ┋ x┋
|
||||
A └┛ alt
|
||||
S 7 ┋ x┋
|
||||
A └┛ alt
|
||||
S 8 ┋ x┋
|
||||
A └┛ alt
|
||||
S 9 ┋ x┋
|
||||
A └┛ alt
|
||||
S 10 ┋ x┋
|
||||
A └┛ alt
|
||||
S 11 ┋ x┋
|
||||
A └┛ alt
|
||||
S 12 ┋ x┋
|
||||
A └┛ alt
|
||||
S 13 ┋ x┋
|
||||
A └┛ alt
|
||||
S 14 ┋ x┋
|
||||
A └┛ alt
|
||||
S 15 ┋ x┋
|
||||
A └┛ alt
|
||||
S 16 ┋ x┋
|
||||
A └┛ alt
|
||||
S 17 ┋ x┋
|
||||
A └┛ alt
|
||||
S 18 ┋ x┋
|
||||
A └┛ alt
|
||||
S 19 ┋ x┋
|
||||
A └┛ alt
|
||||
S 20 ┋ x┋
|
||||
A └┛ alt
|
||||
S 21 ┋ x┋
|
||||
A └┛ alt
|
||||
S 22 ┋ x┋
|
||||
A └┛ alt
|
||||
S 23 ┋ x┋
|
||||
A └┛ alt
|
||||
S 24 ┋ x ┋
|
||||
A ···············································································└ backspace
|
||||
A └┛ alt
|
||||
A ···············································································└ backspace
|
||||
CSI Set Replace mode
|
||||
S 24 ┋ ┋
|
||||
CSI Reset Replace mode
|
||||
S 24 ┋ ┋
|
||||
A ···············································································└ carriage-return
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
@ -0,0 +1,70 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋Hello x┋
|
||||
A └┛ alt
|
||||
S 2 ┋World! x┋
|
||||
A └┛ alt
|
||||
S 3 ┋2 x┋
|
||||
A └┛ alt
|
||||
S 4 ┋3 x┋
|
||||
A └┛ alt
|
||||
S 5 ┋4 x┋
|
||||
A └┛ alt
|
||||
S 6 ┋+5 x┋
|
||||
A └┛ alt
|
||||
S 7 ┋6 x┋
|
||||
A └┛ alt
|
||||
S 8 ┋7 x┋
|
||||
A └┛ alt
|
||||
S 9 ┋8 x┋
|
||||
A └┛ alt
|
||||
S 10 ┋9 x┋
|
||||
A └┛ alt
|
||||
S 11 ┋10 x┋
|
||||
A └┛ alt
|
||||
S 12 ┋11 x┋
|
||||
A └┛ alt
|
||||
S 13 ┋12 x┋
|
||||
A └┛ alt
|
||||
S 14 ┋13 x┋
|
||||
A └┛ alt
|
||||
S 15 ┋14 x┋
|
||||
A └┛ alt
|
||||
S 16 ┋15 x┋
|
||||
A └┛ alt
|
||||
S 17 ┋16 x┋
|
||||
A └┛ alt
|
||||
S 18 ┋17 x┋
|
||||
A └┛ alt
|
||||
S 19 ┋18 x┋
|
||||
A └┛ alt
|
||||
S 20 ┋19 x┋
|
||||
A └┛ alt
|
||||
S 21 ┋ x┋
|
||||
A └┛ alt
|
||||
S 22 ┋ x┋
|
||||
A └┛ alt
|
||||
S 23 ┋ x┋
|
||||
A └┛ alt
|
||||
S 24 ┋ x ┋
|
||||
A ···············································································└ backspace
|
||||
A └┛ alt
|
||||
A ···············································································└ backspace
|
||||
CSI Set Replace mode
|
||||
S 24 ┋ ┋
|
||||
CSI Reset Replace mode
|
||||
S 24 ┋ ┋
|
||||
A ···············································································└ carriage-return
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
@ -0,0 +1,70 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋Hello x┋
|
||||
A └┛ alt
|
||||
S 2 ┋World! x┋
|
||||
A └┛ alt
|
||||
S 3 ┋2 x┋
|
||||
A └┛ alt
|
||||
S 4 ┋+3 x┋
|
||||
A └┛ alt
|
||||
S 5 ┋4 x┋
|
||||
A └┛ alt
|
||||
S 6 ┋5 x┋
|
||||
A └┛ alt
|
||||
S 7 ┋6 x┋
|
||||
A └┛ alt
|
||||
S 8 ┋7 x┋
|
||||
A └┛ alt
|
||||
S 9 ┋8 x┋
|
||||
A └┛ alt
|
||||
S 10 ┋9 x┋
|
||||
A └┛ alt
|
||||
S 11 ┋10 x┋
|
||||
A └┛ alt
|
||||
S 12 ┋11 x┋
|
||||
A └┛ alt
|
||||
S 13 ┋12 x┋
|
||||
A └┛ alt
|
||||
S 14 ┋13 x┋
|
||||
A └┛ alt
|
||||
S 15 ┋14 x┋
|
||||
A └┛ alt
|
||||
S 16 ┋15 x┋
|
||||
A └┛ alt
|
||||
S 17 ┋16 x┋
|
||||
A └┛ alt
|
||||
S 18 ┋17 x┋
|
||||
A └┛ alt
|
||||
S 19 ┋18 x┋
|
||||
A └┛ alt
|
||||
S 20 ┋19 x┋
|
||||
A └┛ alt
|
||||
S 21 ┋ x┋
|
||||
A └┛ alt
|
||||
S 22 ┋ x┋
|
||||
A └┛ alt
|
||||
S 23 ┋ x┋
|
||||
A └┛ alt
|
||||
S 24 ┋ x ┋
|
||||
A ···············································································└ backspace
|
||||
A └┛ alt
|
||||
A ···············································································└ backspace
|
||||
CSI Set Replace mode
|
||||
S 24 ┋ ┋
|
||||
CSI Reset Replace mode
|
||||
S 24 ┋ ┋
|
||||
A ···············································································└ carriage-return
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
@ -0,0 +1,25 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋World! x┋
|
||||
A └┛ alt
|
||||
S 2 ┋2 x┋
|
||||
A └┛ alt
|
||||
S 3 ┋3 x┋
|
||||
A └┛ alt
|
||||
S 4 ┋+4 x┋
|
||||
A └┛ alt
|
||||
S 5 ┋5 x┋
|
||||
A └┛ alt
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
@ -0,0 +1,25 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋Hello x┋
|
||||
A └┛ alt
|
||||
S 2 ┋World! x┋
|
||||
A └┛ alt
|
||||
S 3 ┋2 x┋
|
||||
A └┛ alt
|
||||
S 4 ┋+3 x┋
|
||||
A └┛ alt
|
||||
S 5 ┋4 x┋
|
||||
A └┛ alt
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
@ -0,0 +1,35 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋+18 x┋
|
||||
A └┛ alt
|
||||
S 2 ┋19 x┋
|
||||
A └┛ alt
|
||||
S 3 ┋20 x┋
|
||||
A └┛ alt
|
||||
S 4 ┋21 x┋
|
||||
A └┛ alt
|
||||
S 5 ┋22 x┋
|
||||
A └┛ alt
|
||||
S 6 ┋23 x┋
|
||||
A └┛ alt
|
||||
S 7 ┋24 x┋
|
||||
A └┛ alt
|
||||
S 8 ┋25 x┋
|
||||
A └┛ alt
|
||||
S 9 ┋26 x┋
|
||||
A └┛ alt
|
||||
S 10 ┋27 x┋
|
||||
A └┛ alt
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
@ -0,0 +1,35 @@
|
||||
CTRL Use alt charset
|
||||
CTRL save cursor
|
||||
CSI Use alternate screen buffer
|
||||
CSI set scrolling region 1-24
|
||||
S -1 ┋ ┋
|
||||
A └ normal
|
||||
CSI Reset Replace mode
|
||||
CSI Erase all
|
||||
S 1 ┋9 x┋
|
||||
A └┛ alt
|
||||
S 2 ┋10 x┋
|
||||
A └┛ alt
|
||||
S 3 ┋11 x┋
|
||||
A └┛ alt
|
||||
S 4 ┋12 x┋
|
||||
A └┛ alt
|
||||
S 5 ┋13 x┋
|
||||
A └┛ alt
|
||||
S 6 ┋14 x┋
|
||||
A └┛ alt
|
||||
S 7 ┋15 x┋
|
||||
A └┛ alt
|
||||
S 8 ┋16 x┋
|
||||
A └┛ alt
|
||||
S 9 ┋+17 x┋
|
||||
A └┛ alt
|
||||
S 10 ┋18 x┋
|
||||
A └┛ alt
|
||||
CSI Erase all
|
||||
CSI Use normal screen buffer
|
||||
CTRL restore cursor
|
||||
S 24 ┋ ┋
|
||||
A └ carriage-return
|
||||
CSI Normal cursor keys
|
||||
CTRL Normal keypad
|
Loading…
Reference in New Issue