summaryrefslogtreecommitdiffstats
path: root/linenoise
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-04 07:28:05 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-04 07:28:05 -0700
commit48db32710a95a599d7787016d72d17e7744b8834 (patch)
tree400b2dbddac635dd6d3bdb81535ed0ca20584743 /linenoise
parentd10711353bf9cf0c03a31f81478b57672065b6f0 (diff)
downloadtxr-48db32710a95a599d7787016d72d17e7744b8834.tar.gz
txr-48db32710a95a599d7787016d72d17e7744b8834.tar.bz2
txr-48db32710a95a599d7787016d72d17e7744b8834.zip
Eliminate tabs from linenoise source.
* linenoise/linenoise.c (enum KEY_ACTION): Remove tabs from declaration. This is the only place in the file which has tabs.
Diffstat (limited to 'linenoise')
-rw-r--r--linenoise/linenoise.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/linenoise/linenoise.c b/linenoise/linenoise.c
index 86649a32..8bb0bb1e 100644
--- a/linenoise/linenoise.c
+++ b/linenoise/linenoise.c
@@ -154,25 +154,25 @@ struct linenoiseState {
};
enum KEY_ACTION{
- KEY_NULL = 0, /* NULL */
- CTRL_A = 1, /* Ctrl+a */
- CTRL_B = 2, /* Ctrl-b */
- CTRL_C = 3, /* Ctrl-c */
- CTRL_D = 4, /* Ctrl-d */
- CTRL_E = 5, /* Ctrl-e */
- CTRL_F = 6, /* Ctrl-f */
- CTRL_H = 8, /* Ctrl-h */
- TAB = 9, /* Tab */
- CTRL_K = 11, /* Ctrl+k */
- CTRL_L = 12, /* Ctrl+l */
- ENTER = 13, /* Enter */
- CTRL_N = 14, /* Ctrl-n */
- CTRL_P = 16, /* Ctrl-p */
- CTRL_T = 20, /* Ctrl-t */
- CTRL_U = 21, /* Ctrl+u */
- CTRL_W = 23, /* Ctrl+w */
- ESC = 27, /* Escape */
- BACKSPACE = 127 /* Backspace */
+ KEY_NULL = 0, /* NULL */
+ CTRL_A = 1, /* Ctrl+a */
+ CTRL_B = 2, /* Ctrl-b */
+ CTRL_C = 3, /* Ctrl-c */
+ CTRL_D = 4, /* Ctrl-d */
+ CTRL_E = 5, /* Ctrl-e */
+ CTRL_F = 6, /* Ctrl-f */
+ CTRL_H = 8, /* Ctrl-h */
+ TAB = 9, /* Tab */
+ CTRL_K = 11, /* Ctrl+k */
+ CTRL_L = 12, /* Ctrl+l */
+ ENTER = 13, /* Enter */
+ CTRL_N = 14, /* Ctrl-n */
+ CTRL_P = 16, /* Ctrl-p */
+ CTRL_T = 20, /* Ctrl-t */
+ CTRL_U = 21, /* Ctrl+u */
+ CTRL_W = 23, /* Ctrl+w */
+ ESC = 27, /* Escape */
+ BACKSPACE = 127 /* Backspace */
};
static void linenoiseAtExit(void);