diff options
-rw-r--r-- | Libraries/LibVT/Terminal.cpp | 5 | ||||
-rw-r--r-- | Libraries/LibVT/Terminal.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Libraries/LibVT/Terminal.cpp b/Libraries/LibVT/Terminal.cpp index 174b05e53c..2c53e52fee 100644 --- a/Libraries/LibVT/Terminal.cpp +++ b/Libraries/LibVT/Terminal.cpp @@ -344,8 +344,9 @@ void Terminal::CUF(const ParamVector& params) set_cursor(m_cursor_row, new_column); } -void Terminal::escape$D(const ParamVector& params) +void Terminal::CUB(const ParamVector& params) { + // CUB – Cursor Backward int num = 1; if (params.size() >= 1) num = params[0]; @@ -622,7 +623,7 @@ void Terminal::execute_escape_sequence(u8 final) CUF(params); break; case 'D': - escape$D(params); + CUB(params); break; case 'H': escape$H(params); diff --git a/Libraries/LibVT/Terminal.h b/Libraries/LibVT/Terminal.h index 5ef1fda7eb..b36706f0f1 100644 --- a/Libraries/LibVT/Terminal.h +++ b/Libraries/LibVT/Terminal.h @@ -151,7 +151,7 @@ private: void CUU(const ParamVector&); void CUD(const ParamVector&); void CUF(const ParamVector&); - void escape$D(const ParamVector&); + void CUB(const ParamVector&); void escape$H(const ParamVector&); void ED(const ParamVector&); void EL(const ParamVector&); |