Clean up the "press a key" prompt in fish_key_reader

No need for two newlines.
This commit is contained in:
ridiculousfish 2020-02-13 00:55:06 -08:00
parent c5d2a69378
commit 35a50d5aff
2 changed files with 2 additions and 2 deletions

View file

@ -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()) {

View file

@ -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"