aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-12-28 22:01:47 +0100
committerBoris Faure <billiob@gmail.com>2018-12-28 22:01:47 +0100
commitfd92428c57c4e41070240e53bf0f2572ce3adac1 (patch)
tree38b15f1d8d5accb749f2dbf656e1953572641286
parenttermptyesc: add debug on DECCANSM (diff)
downloadterminology-fd92428c57c4e41070240e53bf0f2572ce3adac1.tar.gz
termptyesc: add debug on DECCAPSLK and clean up other debug
-rw-r--r--src/bin/termptyesc.c21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index d0914f7..8f178f1 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -411,24 +411,13 @@ _handle_esc_csi_reset_mode(Termpty *ty, Eina_Unicode cc, Eina_Unicode *b,
DBG("DECARSM Set/Reset Auto Resize Mode: %d", mode);
break;
case 100:
- if (mode)
- {
- DBG("DECAAM Set Auto Answerback Mode");
- }
- else
- {
- DBG("DECAAM Reset Auto Answerback Mode");
- }
+ DBG("DECAAM Set/Reset Auto Answerback Mode: %d", mode);
break;
case 101:
- if (mode)
- {
- DBG("DECCANSM Set Conceal Answerback Message Mode");
- }
- else
- {
- DBG("DECCANSM Reset Conceal Answerback Message Mode");
- }
+ DBG("DECCANSM Set/Reset Conceal Answerback Message Mode: %d", mode);
+ break;
+ case 109:
+ DBG("DECCAPSLK Set/Reset Caps Lock Mode: %d", mode);
break;
case 1000:
if (mode) ty->mouse_mode = MOUSE_NORMAL;