aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyesc.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-08-21 23:13:30 +0200
committerBoris Faure <billiob@gmail.com>2017-08-21 23:19:41 +0200
commit2343efd6a13606ad05a61f30adcbb284b3c464f5 (patch)
treed13344674b7072515aeec0ff7ade2fb77e1585ae /src/bin/termptyesc.c
parentupdate danish translation. Thanks to scootergrisen (diff)
downloadterminology-2343efd6a13606ad05a61f30adcbb284b3c464f5.tar.gz
termptyesc: clearing the screen (from ED2) should not reset bottom margin
Thanks to @ncim for the report.
Diffstat (limited to 'src/bin/termptyesc.c')
-rw-r--r--src/bin/termptyesc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index a51eb2c..a62e823 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1245,9 +1245,9 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce)
DBG("ED/DECSED %d: erase in display", arg);
switch (arg)
{
- case TERMPTY_CLR_END:
- case TERMPTY_CLR_BEGIN:
- case TERMPTY_CLR_ALL:
+ case TERMPTY_CLR_END /* 0 */:
+ case TERMPTY_CLR_BEGIN /* 1 */:
+ case TERMPTY_CLR_ALL /* 2 */:
termpty_clear_screen(ty, arg);
break;
case 3: