mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 17:02:45 +08:00
parent
547f649797
commit
00f7cdae62
|
@ -24,8 +24,8 @@ sendline("exec $fish_key_reader -c")
|
||||||
expect_str("Press a key:")
|
expect_str("Press a key:")
|
||||||
|
|
||||||
# Is a single control char echoed correctly?
|
# Is a single control char echoed correctly?
|
||||||
send("\x01")
|
send("\x07")
|
||||||
expect_str("char: \\cA\r\nbind \\cA 'do something'\r\n")
|
expect_str("char: \\cG (or \\a)\r\nbind \\a 'do something'\r\n")
|
||||||
|
|
||||||
# Is a non-ASCII UTF-8 sequence prefaced by an escape char handled correctly?
|
# Is a non-ASCII UTF-8 sequence prefaced by an escape char handled correctly?
|
||||||
sleep(0.020)
|
sleep(0.020)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user