Fixed ALT+BACKSPACE on non-Windows builds.

This commit is contained in:
Casey Langen 2016-06-25 18:41:57 -07:00
parent 01a41531c6
commit 8e49e4ed7c

View File

@ -75,7 +75,7 @@ void TextInput::Show() {
}
bool TextInput::Write(const std::string& key) {
if (key == "M-bksp") {
if (key == "M-^H" || key == "M-^?" || key == "M-bksp") {
this->buffer = "";
redrawContents(*this, "");
this->TextChanged(this, "");
@ -111,4 +111,4 @@ void TextInput::SetText(const std::string& value) {
this->TextChanged(this, this->buffer);
redrawContents(*this, buffer);
}
}
}