diff options
author | Alexis211 <alexis211@gmail.com> | 2009-11-08 17:23:46 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-11-08 17:23:46 +0100 |
commit | 87a1dd39d0036f55f5bdbf4ef8921a4767d95825 (patch) | |
tree | 3eeb650ec3f12c031a0aa0d8b2571c6b15427d86 /Source/Kernel/VTManager | |
parent | c712d7f6f801b073920c7b914ee1b95358113893 (diff) | |
download | Melon-87a1dd39d0036f55f5bdbf4ef8921a4767d95825.tar.gz Melon-87a1dd39d0036f55f5bdbf4ef8921a4767d95825.zip |
Nothing, really : put some utility functions in V86.ns
Diffstat (limited to 'Source/Kernel/VTManager')
-rw-r--r-- | Source/Kernel/VTManager/VirtualTerminal-kbd.proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/VTManager/VirtualTerminal-kbd.proto.cpp b/Source/Kernel/VTManager/VirtualTerminal-kbd.proto.cpp index b5ed9c3..9f3e349 100644 --- a/Source/Kernel/VTManager/VirtualTerminal-kbd.proto.cpp +++ b/Source/Kernel/VTManager/VirtualTerminal-kbd.proto.cpp @@ -63,7 +63,7 @@ String VirtualTerminal::readLine(bool show) { while (!(tmp.hascmd && !tmp.haschar && tmp.command == KBDC_ENTER)) { if (tmp.hascmd && !tmp.haschar && tmp.command == KBDC_BACKSPACE) { if (!ret.empty()) ret = ret.substr(0, ret.size() - 1); - else put(" "); //Put a space so that cursor stays at same place + else if (show) put(" "); //Put a space so that cursor stays at same place } else if (tmp.hascmd && !tmp.haschar && tmp.command == KBDC_TAB) { ret += "\t"; } else if (tmp.haschar && !tmp.hascmd) { |