diff options
Diffstat (limited to 'Source/Kernel/VTManager/PipeVT.class.cpp')
-rw-r--r-- | Source/Kernel/VTManager/PipeVT.class.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Kernel/VTManager/PipeVT.class.cpp b/Source/Kernel/VTManager/PipeVT.class.cpp index f4a5ca9..e6384f5 100644 --- a/Source/Kernel/VTManager/PipeVT.class.cpp +++ b/Source/Kernel/VTManager/PipeVT.class.cpp @@ -5,9 +5,11 @@ PipeVT::PipeVT() { m_col = 0; } -void PipeVT::setCursorCol(u32int col) { - while (col > m_col) { - put(" "); +void PipeVT::handleEscape(mvt_esc_cmd_t cmd) { + if (cmd.cmd == MVTCMD_SETCSRCOL) { + while (cmd.a > (int)m_col) { + put(" "); + } } } |