aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-25 14:12:32 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-26 00:42:15 +0300
commit24c3bfc4f18f06a465b70afa45783d568402abdf (patch)
treee3833d4299aa91a9dae430ef2d745a5103b59bf5 /src/core-commands.c
parenta0121b5e4b2b1d7a8f697ef5ee1e9db2bd427bc2 (diff)
downloadsciteco-24c3bfc4f18f06a465b70afa45783d568402abdf.tar.gz
implemented <:Gq> for printing the Q-Register string as a message instead of inserting it
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 257e29d..e67aa2f 100644
--- a/src/core-commands.c
+++ b/src/core-commands.c
@@ -595,7 +595,8 @@ teco_state_start_input(teco_machine_main_t *ctx, gunichar chr, GError **error)
['['] = {&teco_state_pushqreg},
[']'] = {&teco_state_popqreg,
.modifier_colon = 1},
- ['G'] = {&teco_state_getqregstring},
+ ['G'] = {&teco_state_getqregstring,
+ .modifier_colon = 1},
['Q'] = {&teco_state_queryqreg,
.modifier_colon = 1},
['U'] = {&teco_state_setqreginteger,