author | Max Kellermann <max@duempel.org> | |
Thu, 18 Sep 2008 10:32:09 +0000 (12:32 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 18 Sep 2008 10:32:09 +0000 (12:32 +0200) | ||
commit | ccf19a7243df12b3e1b2055661b8da5925222407 | |
tree | 2a8bdc628b57fee41b7983ea557c060bf80615fc | tree | snapshot |
parent | dcb67250b34dc92aced026516e162a42000f1857 | commit | diff |
screen: don't handle CMD_PLAY
CMD_PLAY is mapped to the Enter key by default. Some screens
(mis-)use it for navigation, for entering a directory. The playlist
screen actually plays the file under the cursor. On all other
screens, pressing Enter may be confusing, since it is more of a
"confirmation" key instead of "play". We should probaby add
CMD_CONFIRM later, but for now, disable the general CMD_PLAY handler
in screen.c. This fixes bug 240.
CMD_PLAY is mapped to the Enter key by default. Some screens
(mis-)use it for navigation, for entering a directory. The playlist
screen actually plays the file under the cursor. On all other
screens, pressing Enter may be confusing, since it is more of a
"confirmation" key instead of "play". We should probaby add
CMD_CONFIRM later, but for now, disable the general CMD_PLAY handler
in screen.c. This fixes bug 240.
src/screen.c | diff | blob | history |