SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
mail/abook/patches/patch-ui_c
Normal file
14
mail/abook/patches/patch-ui_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Also check if getch(3) returns KEY_ENTER in get_commands(), or it may fail
|
||||
when the enter key is pressed in some terminals (e.g., TERM=pccon0).
|
||||
|
||||
Index: ui.c
|
||||
--- ui.c.orig
|
||||
+++ ui.c
|
||||
@@ -573,6 +573,7 @@ get_commands()
|
||||
refresh_screen();
|
||||
break;
|
||||
case 'a': add_item(); break;
|
||||
+ case KEY_ENTER:
|
||||
case '\r': edit_item(-1); break;
|
||||
case KEY_DC:
|
||||
case 'd':
|
Loading…
Add table
Add a link
Reference in a new issue