From b860da3ea5250867b495fa1203e8e5f6b4079994 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 7 May 2019 02:55:56 +0200 Subject: [PATCH] Shell: Ignore tab key for now. --- Shell/LineEditor.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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;