summaryrefslogtreecommitdiff
path: root/plugins/keyboard
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-26 14:12:30 +0000
committerDana Jansens <danakj@orodu.net>2003-03-26 14:12:30 +0000
commit78424735f31644d7adc16ab09d90602b08c0c52b (patch)
tree73544aa5faac3d690c1332c5f230b45114c44152 /plugins/keyboard
parent4f101c1fb450b6d39f6284262ffe25c2c75cfb5c (diff)
bind C-g for the rset key
Diffstat (limited to 'plugins/keyboard')
-rw-r--r--plugins/keyboard/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c
index 07a9bd51..cf48b2e9 100644
--- a/plugins/keyboard/keyboard.c
+++ b/plugins/keyboard/keyboard.c
@@ -126,6 +126,8 @@ void plugin_startup()
{
dispatch_register(Event_X_KeyPress, (EventHandler)press, NULL);
+ translate_key("C-g", &reset_state, &reset_key);
+
keysrc_parse();
}