From 24c3bfc4f18f06a465b70afa45783d568402abdf Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 25 Jul 2025 14:12:32 +0300 Subject: implemented <:Gq> for printing the Q-Register string as a message instead of inserting it --- src/core-commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core-commands.c') 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, -- cgit v1.2.3