summaryrefslogtreecommitdiff
path: root/Shell
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-07 02:55:56 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-07 02:55:56 +0200
commitb860da3ea5250867b495fa1203e8e5f6b4079994 (patch)
tree75aae4c10d5ac7ac9fed24155c9d35eb23d069f6 /Shell
parentad1c3c748f30deb825418e967170e6db21bd1d63 (diff)
downloadserenity-b860da3ea5250867b495fa1203e8e5f6b4079994.zip
Shell: Ignore tab key for now.
Diffstat (limited to 'Shell')
-rw-r--r--Shell/LineEditor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Shell/LineEditor.cpp b/Shell/LineEditor.cpp
index 371afc3cb3..061d92bf32 100644
--- a/Shell/LineEditor.cpp
+++ b/Shell/LineEditor.cpp
@@ -111,6 +111,11 @@ String LineEditor::get_line()
break;
}
+ if (ch == '\t') {
+ // FIXME: Implement tab-completion.
+ continue;
+ }
+
if (ch == 8 || ch == g.termios.c_cc[VERASE]) {
if (m_buffer.is_empty())
continue;