summaryrefslogtreecommitdiffstats
path: root/functions.h
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2002-12-09 17:44:28 +0000
committerMichael Elkins <me@sigpipe.org>2002-12-09 17:44:28 +0000
commit9c1b2853c6a094fd17a0f9ab0a5cf45ed29d1d6a (patch)
tree1c9a9afdc28cda5be677b9a4ca64d7666919962d /functions.h
parent454940f9b922358a779b800e92531480a788f297 (diff)
This patch adds two features to mutt:
- you can now specify the octal code of a key in a bind or macro function, using the syntax <NNN>. Eg, bind index <541> show-version This allows you to bind to a function key for which Mutt doesn't have a friendly name associated with it. - adds a what-key function which allows you to press a key and have mutt show you the decimal/octal value. (not bound to anything by default)
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index eae16756..1b67309a 100644
--- a/functions.h
+++ b/functions.h
@@ -60,6 +60,7 @@ struct binding_t OpGeneric[] = {
{ "current-top", OP_CURRENT_TOP, NULL },
{ "current-middle", OP_CURRENT_MIDDLE, NULL },
{ "current-bottom", OP_CURRENT_BOTTOM, NULL },
+ { "what-key", OP_WHAT_KEY, NULL },
{ NULL, 0, NULL }
};