blob: 5456d37ea259ba68a43b223b68fd352e5470bb65 [file] [log] [blame]
Tests that console prompt keyboard events work.
Adding first message: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Setting prompt text: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Test that arrow Up stays in the same command
{"startLine":1,"startColumn":0,"endLine":1,"endColumn":0}
Prompt is displaying SECOND message
Test that ArrowUp+shift stays in the same command
{"startLine":0,"startColumn":0,"endLine":0,"endColumn":1}
Prompt is displaying SECOND message
Test that arrow Up on the first line, second visual row stays in the same command
{"startLine":0,"startColumn":100,"endLine":0,"endColumn":100}
Prompt is displaying SECOND message
Test that arrow Up from the first line loads previous command
{"startLine":0,"startColumn":0,"endLine":0,"endColumn":0}
Prompt is displaying FIRST message
Test that arrow Down stays in the same command
{"startLine":0,"startColumn":0,"endLine":0,"endColumn":0}
Prompt is displaying FIRST message
Test that ArrowDown+shift stays in the same command
{"startLine":1,"startColumn":0,"endLine":1,"endColumn":1}
Prompt is displaying FIRST message
Test that arrow Down on the last line, first visual row stays in the same command
{"startLine":1,"startColumn":0,"endLine":1,"endColumn":0}
Prompt is displaying FIRST message
Test that arrow Down from the first line loads next command
{"startLine":1,"startColumn":100,"endLine":1,"endColumn":100}
Prompt is displaying SECOND message