Commit 1f6b2a62 authored by Roumen Petrov's avatar Roumen Petrov

process "reset to initial state" escape sequence

parent 245826ab
......@@ -1052,6 +1052,11 @@ private void doEsc(byte b) {
| mSavedDecFlags_DECSC_DECRC;
break;
case 'c': // ESC c - RIS - Reset to Initial State
reset();
setCursorPosition(0, 0);
break;
case 'D': // INDEX
doLinefeed();
break;
......
ESC=$'\033'
echo -n "${ESC}c" # // ESC c - RIS - Reset to Initial State
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment