mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-20 02:11:16 -03:00
Another developer noticed that redirecting stdin of `fish_key_reader` results in weird behavior. Which is not at all surprising. So add checks to ensure stdin and stdout are attached to a tty. Add some rudimentary unit tests for this program.
9 lines
209 B
Plaintext
9 lines
209 B
Plaintext
saw expected startup prompt
|
|
ctrl-a handled
|
|
\xE9, first byte, handled
|
|
\xE9, second byte, handled
|
|
\c@ handled
|
|
invalid terminate sequence handled
|
|
valid terminate sequence handled
|
|
exited on seeing valid terminate
|