From 47fa6eb8e72f8031e4b9fa525874e5388bc7ce81 Mon Sep 17 00:00:00 2001 From: clangen Date: Wed, 6 Jul 2016 22:59:11 -0700 Subject: [PATCH] Fixed ALT+BACKSPACE in TextInput on Linux. --- src/musikbox/cursespp/TextInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/musikbox/cursespp/TextInput.cpp b/src/musikbox/cursespp/TextInput.cpp index 41a594c0c..42d610091 100755 --- a/src/musikbox/cursespp/TextInput.cpp +++ b/src/musikbox/cursespp/TextInput.cpp @@ -75,7 +75,7 @@ void TextInput::Show() { } bool TextInput::Write(const std::string& key) { - if (key == "M-^H" || key == "M-^?" || key == "M-bksp") { + if (key == "M-^H" || key == "M-^?" || key == "M-bksp" || key == "M-KEY_BACKSPACE") { this->buffer = ""; redrawContents(*this, ""); this->TextChanged(this, "");