aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core-commands.c')
-rw-r--r--src/core-commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core-commands.c b/src/core-commands.c
index 8e31ae3..ae51ecc 100644
--- a/src/core-commands.c
+++ b/src/core-commands.c
@@ -639,7 +639,8 @@ teco_state_start_input(teco_machine_main_t *ctx, gunichar chr, GError **error)
.modifier_at = TRUE, .modifier_colon = 1},
['['] = {&teco_state_pushqreg},
- [']'] = {&teco_state_popqreg},
+ [']'] = {&teco_state_popqreg,
+ .modifier_colon = 1},
['G'] = {&teco_state_getqregstring},
['Q'] = {&teco_state_queryqreg,
.modifier_colon = 1},