diff options
author | Tom Gundersen <teg@jklm.no> | 2014-10-16 14:29:06 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-10-16 14:43:57 +0200 |
commit | 9536cf93b9830257a133ea142f0627fad84ab30c (patch) | |
tree | 62dedbac563bfd1e215ebea2d3db52b051f3c5e4 /src | |
parent | 7ee738ec330620e97f47068cc2474fcf810b0c86 (diff) |
terminal: log unsupported ANSI or DEC mode changes
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-terminal/term-screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/term-screen.c b/src/libsystemd-terminal/term-screen.c index f2ac5c92c4..acd7cc966a 100644 --- a/src/libsystemd-terminal/term-screen.c +++ b/src/libsystemd-terminal/term-screen.c @@ -402,6 +402,8 @@ static void screen_mode_change_ansi(term_screen *screen, unsigned mode, bool set set_reset(screen, TERM_FLAG_NEWLINE_MODE, set); break; + default: + log_debug("terminal: failed to %s unknown ANSI mode %u", set ? "set" : "unset", mode); } } @@ -499,6 +501,8 @@ static void screen_mode_change_dec(term_screen *screen, unsigned int mode, bool screen_restore_state(screen, &screen->saved_alt); break; + default: + log_debug("terminal: failed to %s unknown DEC mode %u", set ? "set" : "unset", mode); } } |