diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-07 02:55:56 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-07 02:55:56 +0200 |
commit | b860da3ea5250867b495fa1203e8e5f6b4079994 (patch) | |
tree | 75aae4c10d5ac7ac9fed24155c9d35eb23d069f6 /Shell | |
parent | ad1c3c748f30deb825418e967170e6db21bd1d63 (diff) | |
download | serenity-b860da3ea5250867b495fa1203e8e5f6b4079994.zip |
Shell: Ignore tab key for now.
Diffstat (limited to 'Shell')
-rw-r--r-- | Shell/LineEditor.cpp | 5 |
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; |