mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-18 18:58:54 +02:00
Add basic readline-like support for using control-left and control-right to scroll horizontally by one word at a time
This commit is contained in:
@@ -2092,7 +2092,7 @@ func testTui_general(t *testing.T, onlineStatus OnlineStatus) {
|
||||
// Test jumping around the cursor via shortcuts
|
||||
out = captureTerminalOutput(t, tester, []string{
|
||||
"hishtory SPACE tquery ENTER",
|
||||
"foo C-a AAA C-e ZZZ",
|
||||
"foo C-a AAA SPACE C-e SPACE ZZZ",
|
||||
})
|
||||
out = strings.Split(stripTuiCommandPrefix(t, out), "\n")[0]
|
||||
testutils.CompareGoldens(t, out, "TestTui-JumpCursor")
|
||||
|
Reference in New Issue
Block a user