summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 787de90)
raw | patch | inline | side by side (parent: 787de90)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 27 Aug 2011 12:37:16 +0000 (14:37 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Mon, 29 Aug 2011 20:41:56 +0000 (22:41 +0200) |
src/command.c | patch | blob | history |
diff --git a/src/command.c b/src/command.c
index 7db5f68bf426f1c35aa39425e7b9462f48edf65c..68b8d1e09dcea819d9c27a2619672eb501d37a1e 100644 (file)
--- a/src/command.c
+++ b/src/command.c
#define TAB 0x09
#define STAB 0x161
#define ESC 0x1B
+#define RET '\r'
#define F1 KEY_F(1)
#define F2 KEY_F(2)
#define F3 KEY_F(3)
/* player commands */
- { { 13, 0, 0 }, 0, CMD_PLAY, "play",
+ { { RET, 0, 0 }, 0, CMD_PLAY, "play",
N_("Play/Enter directory") },
{ { 'P', 0, 0 }, 0, CMD_PAUSE,"pause",
N_("Pause") },
return _("Undefined");
case ' ':
return _("Space");
- case 13:
+ case RET:
return _("Enter");
case BS:
return _("Backspace");