bindings: add support for parsing/displaying insert key

This commit is contained in:
Andrzej Rybczak
2012-09-05 23:35:24 +02:00
parent 299e1f2e9c
commit fe9bcfbeab
2 changed files with 4 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ Key stringToSpecialKey(const std::string &s)
result = Key(KEY_SPACE, Key::Standard);
else if (!s.compare("enter"))
result = Key(KEY_ENTER, Key::Standard);
else if (!s.compare("insert"))
result = Key(KEY_IC, Key::NCurses);
else if (!s.compare("delete"))
result = Key(KEY_DC, Key::NCurses);
else if (!s.compare("left"))