File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ func TestClearMsg(t *testing.T) {
1414 {
1515 name : "clear_screen" ,
1616 cmds : []Cmd {ClearScreen },
17- expected : "\x1b [?25l\x1b [?2004h\x1b [2J\x1b [1;1H \r success\x1b [0K\r \n \x1b [0K\x1b [80D\x1b [2K\r \x1b [?2004l\x1b [?25h\x1b [?1002l\x1b [?1003l\x1b [?1006l" ,
17+ expected : "\x1b [?25l\x1b [?2004h\x1b [2J\x1b [H \r success\x1b [0K\r \n \x1b [0K\x1b [80D\x1b [2K\r \x1b [?2004l\x1b [?25h\x1b [?1002l\x1b [?1003l\x1b [?1006l" ,
1818 },
1919 {
2020 name : "altscreen" ,
2121 cmds : []Cmd {EnterAltScreen , ExitAltScreen },
22- expected : "\x1b [?25l\x1b [?2004h\x1b [?1049h\x1b [2J\x1b [1;1H \x1b [?25l\x1b [?1049l\x1b [?25l\r success\x1b [0K\r \n \x1b [0K\x1b [80D\x1b [2K\r \x1b [?2004l\x1b [?25h\x1b [?1002l\x1b [?1003l\x1b [?1006l" ,
22+ expected : "\x1b [?25l\x1b [?2004h\x1b [?1049h\x1b [2J\x1b [H \x1b [?25l\x1b [?1049l\x1b [?25l\r success\x1b [0K\r \n \x1b [0K\x1b [80D\x1b [2K\r \x1b [?2004l\x1b [?25h\x1b [?1002l\x1b [?1003l\x1b [?1006l" ,
2323 },
2424 {
2525 name : "altscreen_autoexit" ,
2626 cmds : []Cmd {EnterAltScreen },
27- expected : "\x1b [?25l\x1b [?2004h\x1b [?1049h\x1b [2J\x1b [1;1H \x1b [?25l\r success\x1b [0K\r \n \x1b [0K\x1b [2;0H\x1b [2K\r \x1b [?2004l\x1b [?25h\x1b [?1002l\x1b [?1003l\x1b [?1006l\x1b [?1049l\x1b [?25h" ,
27+ expected : "\x1b [?25l\x1b [?2004h\x1b [?1049h\x1b [2J\x1b [H \x1b [?25l\r success\x1b [0K\r \n \x1b [0K\x1b [2;0H\x1b [2K\r \x1b [?2004l\x1b [?25h\x1b [?1002l\x1b [?1003l\x1b [?1006l\x1b [?1049l\x1b [?25h" ,
2828 },
2929 {
3030 name : "mouse_cellmotion" ,
You can’t perform that action at this time.
0 commit comments