mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Clean up the "press a key" prompt in fish_key_reader
No need for two newlines.
This commit is contained in:
parent
c5d2a69378
commit
35a50d5aff
2 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ static void process_input(bool continuous_mode) {
|
|||
input_event_queue_t queue;
|
||||
std::vector<wchar_t> bind_chars;
|
||||
|
||||
std::fwprintf(stderr, L"Press a key\n\n");
|
||||
std::fwprintf(stderr, L"Press a key:\n");
|
||||
for (;;) {
|
||||
char_event_t evt{0};
|
||||
if (reader_test_and_clear_interrupted()) {
|
||||
|
|
|
@ -4,7 +4,7 @@ set ::env(fish_escape_delay_ms) 10
|
|||
spawn $fish_key_reader -c
|
||||
|
||||
# Do we get the expected startup prompt?
|
||||
expect -ex "Press a key" {
|
||||
expect -ex "Press a key:" {
|
||||
puts "saw expected startup prompt"
|
||||
} unmatched {
|
||||
puts stderr "didn't see expected startup prompt"
|
||||
|
|
Loading…
Reference in a new issue