diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/client/menu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index 133c5fb5..06b65e62 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -465,6 +465,10 @@ int ui_do_edit_box(void *id, float x, float y, float w, float h, char *str, int at_index--; else if (k == input::right && at_index < len) at_index++; + else if (k == input::home) + at_index = 0; + else if (k == input::end) + at_index = len; r = 1; } |