Home/End key map to list browsing.

This commit is contained in:
QC 2014-01-31 19:39:09 +01:00
parent 47ad13fdf3
commit 8725748916
2 changed files with 3 additions and 3 deletions

View File

@ -373,13 +373,13 @@ int textbox_keypress( textbox *tb, XEvent *ev )
} else if ( key == XK_Right ) {
textbox_cursor_inc( tb );
return 1;
} else if ( key == XK_Home ) {
} /*else if ( key == XK_Home ) {
textbox_cursor_home( tb );
return 1;
} else if ( key == XK_End ) {
textbox_cursor_end( tb );
return 1;
} else if ( key == XK_Delete ) {
} */else if ( key == XK_Delete ) {
textbox_cursor_del( tb );
return 1;
} else if ( key == XK_BackSpace ) {