summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e093b1)
raw | patch | inline | side by side (parent: 8e093b1)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 27 Aug 2011 01:09:19 +0000 (03:09 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Mon, 29 Aug 2011 20:41:56 +0000 (22:41 +0200) |
Restore the old idention style of the key code macros, it was
destoyed by commit f81333d (code style, indent with tabs XI).
(That's a long time ago, I know.)
destoyed by commit f81333d (code style, indent with tabs XI).
(That's a long time ago, I know.)
src/command.c | patch | blob | history |
diff --git a/src/command.c b/src/command.c
index f323b12c457e189f5f6f99dad5ed85ab467a3a2f..0bb45bfbfc5acfcc5a18e7055d6e147c99494d9b 100644 (file)
--- a/src/command.c
+++ b/src/command.c
#define DK(x)
#endif
-#define BS KEY_BACKSPACE
-#define DEL KEY_DC
-#define UP KEY_UP
-#define DWN KEY_DOWN
+#define BS KEY_BACKSPACE
+#define DEL KEY_DC
+#define UP KEY_UP
+#define DWN KEY_DOWN
#define LEFT KEY_LEFT
#define RGHT KEY_RIGHT
#define HOME KEY_HOME
-#define END KEY_END
+#define END KEY_END
#define PGDN KEY_NPAGE
#define PGUP KEY_PPAGE
-#define TAB 0x09
+#define TAB 0x09
#define STAB 0x161
-#define ESC 0x1B
-#define F1 KEY_F(1)
-#define F2 KEY_F(2)
-#define F3 KEY_F(3)
-#define F4 KEY_F(4)
-#define F5 KEY_F(5)
-#define F6 KEY_F(6)
-#define F7 KEY_F(7)
-#define F8 KEY_F(8)
+#define ESC 0x1B
+#define F1 KEY_F(1)
+#define F2 KEY_F(2)
+#define F3 KEY_F(3)
+#define F4 KEY_F(4)
+#define F5 KEY_F(5)
+#define F6 KEY_F(6)
+#define F7 KEY_F(7)
+#define F8 KEY_F(8)
static command_definition_t cmds[] = {