diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-27 00:02:01 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-27 00:02:01 +0100 |
commit | e421c10735cd4b14afd2ddd2738617bec4c3a8c3 (patch) | |
tree | e71d59b1449677ec60f7b0fb6c8e3c654a71ee90 /Applications/Terminal | |
parent | 424368034b21dbd363e1e8662069bb4dd2de6f4b (diff) | |
download | serenity-e421c10735cd4b14afd2ddd2738617bec4c3a8c3.zip |
More compat work towards porting vim.
It now builds and runs in the small-featureset configuration. :^)
Diffstat (limited to 'Applications/Terminal')
-rw-r--r-- | Applications/Terminal/Terminal.cpp | 8 | ||||
-rw-r--r-- | Applications/Terminal/Terminal.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Applications/Terminal/Terminal.cpp b/Applications/Terminal/Terminal.cpp index a5cfa60002..b18b5e3579 100644 --- a/Applications/Terminal/Terminal.cpp +++ b/Applications/Terminal/Terminal.cpp @@ -190,6 +190,13 @@ void Terminal::escape$u(const Vector<unsigned>&) set_cursor(m_saved_cursor_row, m_saved_cursor_column); } +void Terminal::escape$t(const Vector<unsigned>& params) +{ + if (params.size() < 1) + return; + dbgprintf("escape$t: Ps: %u\n", params[0]); +} + void Terminal::escape$H(const Vector<unsigned>& params) { unsigned row = 1; @@ -380,6 +387,7 @@ void Terminal::execute_escape_sequence(byte final) case 'm': escape$m(params); break; case 's': escape$s(params); break; case 'u': escape$u(params); break; + case 't': escape$t(params); break; default: dbgprintf("Terminal::execute_escape_sequence: Unhandled final '%c'\n", final); break; diff --git a/Applications/Terminal/Terminal.h b/Applications/Terminal/Terminal.h index 67e453bc5a..55e3ad207d 100644 --- a/Applications/Terminal/Terminal.h +++ b/Applications/Terminal/Terminal.h @@ -53,6 +53,7 @@ private: void escape$m(const Vector<unsigned>&); void escape$s(const Vector<unsigned>&); void escape$u(const Vector<unsigned>&); + void escape$t(const Vector<unsigned>&); void clear(); |