Skip to content

Commit

Permalink
ui/Keys: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 9, 2024
1 parent e781edf commit 2b1e72d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/Keys.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
enum : int {
KEY_BACKSPACE2 = 8,
KEY_TAB = 9,
KEY_LINENEED = '\n',
KEY_LINEFEED = '\n',
KEY_RETURN = '\r',
KEY_ESCAPE = 0x1b,
KEY_BACKSPACE3 = 0x7f,
Expand Down
2 changes: 1 addition & 1 deletion src/wreadln.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ _wreadln(const Window window,
wr.MoveCursorToEnd();
break;

case KEY_LINENEED:
case KEY_LINEFEED:
case KEY_RETURN:
case KEY_IC:
case KEY_PPAGE:
Expand Down

0 comments on commit 2b1e72d

Please sign in to comment.