diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-05-25 17:41:28 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-05-25 17:41:28 +0100 |
| commit | 811f1c2d761855765bb5422281058debc58073ba (patch) | |
| tree | 1d671f355017ad57014a68223fe04a10640a5fdb /src/input_handler.cc | |
| parent | fe70add4b764d7af7968498c4f5557d651119a42 (diff) | |
Rename Key::Erase to Key::Delete and add 'del' keyname
Fixes #145
Fixes #146
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index f12a8854..bf363d69 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -138,7 +138,7 @@ public: --m_cursor_pos; } } - else if (key == Key::Erase) + else if (key == Key::Delete) { if (m_cursor_pos != m_line.char_length()) m_line = m_line.substr(0, m_cursor_pos) @@ -675,7 +675,7 @@ public: buffer.erase(utf8::previous(pos), pos); } } - else if (key == Key::Erase) + else if (key == Key::Delete) { for (auto& sel : context().selections()) { |
