diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index c94e91fa..1b1a5857 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -305,8 +305,7 @@ _handle_esc_csi_reset_mode(Termpty *ty, Eina_Unicode cc, Eina_Unicode *b, #endif break; case 4: - WRN("TODO: scrolling mode (DECSCLM): %i", mode); - ty->decoding_error = EINA_TRUE; + DBG("scrolling mode (DECSCLM): %i (always fast mode)", mode); break; case 5: ty->termstate.reverse = mode; diff --git a/tests/decsclm.sh b/tests/decsclm.sh new file mode 100755 index 00000000..d5bc2757 --- /dev/null +++ b/tests/decsclm.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# fill space with E +printf '\033[69;1;1;25;80$x' + +# set scrolling mode to fast +printf '\033[?4l' +# set scrolling mode to smooth +printf '\033[?4h' + diff --git a/tests/tests.results b/tests/tests.results index 4442b132..e6fdc9ef 100644 --- a/tests/tests.results +++ b/tests/tests.results @@ -29,3 +29,4 @@ colors.sh 532494a2e56c102ee10ab1a9b8f176d7 sgr-leading-trailing-semicolon.sh d7701f1193bde63412a9b969f17e10ec sgr-truecolors.sh 9db4becc728bb9f1730f3573dc7fc668 sgr-long.sh ec0425b1daabaa59096c10939e79b105 +decsclm.sh 1ffcea3bfc4704d9091272dc59cbb311