From 87a1dd39d0036f55f5bdbf4ef8921a4767d95825 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 8 Nov 2009 17:23:46 +0100 Subject: Nothing, really : put some utility functions in V86.ns --- Source/Kernel/VTManager/VirtualTerminal-kbd.proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Kernel/VTManager') 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) { -- cgit v1.2.3