Show the escape key properly when server unavailable.
Fixes #624. Signed-off-by: John Hood <cgull@glup.org>
This commit is contained in:
@@ -233,10 +233,9 @@ void NotificationEngine::apply( Framebuffer &fb ) const
|
||||
explanation = reply_message;
|
||||
}
|
||||
|
||||
const static char quit_keystroke[] = " [To quit: Ctrl-^ .]";
|
||||
const static char blank[] = "";
|
||||
|
||||
const char *keystroke_str = show_quit_keystroke ? quit_keystroke : blank;
|
||||
const char *keystroke_str = show_quit_keystroke ? escape_key_string.c_str() : blank;
|
||||
|
||||
if ( message.empty() && (!time_expired) ) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user