aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-15 18:39:39 +1000
committerDavid Walter Seikel2014-04-15 18:39:39 +1000
commitba50a24053d6035d85acb0052827045116be8cbe (patch)
treeba27e9b6fbed86a84930fe804e1b48885ecc9473
parentLinks about the different versions of showkey. (diff)
downloadboxes-ba50a24053d6035d85acb0052827045116be8cbe.zip
boxes-ba50a24053d6035d85acb0052827045116be8cbe.tar.gz
boxes-ba50a24053d6035d85acb0052827045116be8cbe.tar.bz2
boxes-ba50a24053d6035d85acb0052827045116be8cbe.tar.xz
Mark the key / command mapping structure constant.
-rw-r--r--dumbsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumbsh.c b/dumbsh.c
index 92ac46a..7975ebe 100644
--- a/dumbsh.c
+++ b/dumbsh.c
@@ -133,7 +133,7 @@ static void startOfLine()
133} 133}
134 134
135// The key to command mappings, Emacs style. 135// The key to command mappings, Emacs style.
136static struct keyCommand simpleEmacsKeys[] = 136static const struct keyCommand simpleEmacsKeys[] =
137{ 137{
138 {"BS", backSpaceChar}, 138 {"BS", backSpaceChar},
139 {"Del", deleteChar}, 139 {"Del", deleteChar},