Fixed ALT+BACKSPACE in TextInput on Linux.

This commit is contained in:
clangen 2016-07-06 22:59:11 -07:00
parent 6535eeaa48
commit 47fa6eb8e7

View File

@ -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, "");