mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed ALT+BACKSPACE in TextInput on Linux.
This commit is contained in:
parent
6535eeaa48
commit
47fa6eb8e7
@ -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, "");
|
||||
|
Loading…
Reference in New Issue
Block a user