mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Restyle
This commit is contained in:
@@ -41,9 +41,9 @@ expect_str("char: \\c@\r\nbind -k nul 'do something'\r\n")
|
||||
# Ensure we only name the sequence if we match all of it.
|
||||
# Otherwise we end up calling escape+backspace "backspace"!
|
||||
send("\x1b\x7f")
|
||||
expect_str('char: \\e\r\n')
|
||||
expect_str('char: \\x7F')
|
||||
expect_str('''(aka "del")\r\nbind \\e\\x7F 'do something'\r\n''')
|
||||
expect_str("char: \\e\r\n")
|
||||
expect_str("char: \\x7F")
|
||||
expect_str("""(aka "del")\r\nbind \\e\\x7F 'do something'\r\n""")
|
||||
|
||||
# Does it keep running if handed control sequences in the wrong order?
|
||||
send("\x03")
|
||||
|
||||
@@ -111,7 +111,7 @@ expect_re("history delete -p 'echo hello'\r\n")
|
||||
expect_re("\[1\] echo hello AGAIN\r\n")
|
||||
expect_re("\[2\] echo hello again\r\n\r\n")
|
||||
expect_re(
|
||||
'Enter nothing to cancel the delete, or\r\nEnter one or more of the entry IDs or ranges like \'5..12\', separated by a space.\r\nFor example \'7 10..15 35 788..812\'.\r\nEnter \'all\' to delete all the matching entries.\r\n'
|
||||
"Enter nothing to cancel the delete, or\r\nEnter one or more of the entry IDs or ranges like '5..12', separated by a space.\r\nFor example '7 10..15 35 788..812'.\r\nEnter 'all' to delete all the matching entries.\r\n"
|
||||
)
|
||||
expect_re("Delete which entries\? ")
|
||||
sendline("1")
|
||||
|
||||
Reference in New Issue
Block a user