summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-10-16 14:29:06 +0200
committerTom Gundersen <teg@jklm.no>2014-10-16 14:43:57 +0200
commit9536cf93b9830257a133ea142f0627fad84ab30c (patch)
tree62dedbac563bfd1e215ebea2d3db52b051f3c5e4 /src/libsystemd-terminal
parent7ee738ec330620e97f47068cc2474fcf810b0c86 (diff)
terminal: log unsupported ANSI or DEC mode changes
Diffstat (limited to 'src/libsystemd-terminal')
-rw-r--r--src/libsystemd-terminal/term-screen.c4
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);
}
}