aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-25 11:08:18 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-26 00:42:15 +0300
commit83dddcf2064c26d3ac2a12d7b8158f8891329181 (patch)
treef900fec8e842074c95e4c103b348fc882925aabb /src/core-commands.c
parenteee669a76b3c0b1928475d55d9e1333b3d15bb8c (diff)
downloadsciteco-83dddcf2064c26d3ac2a12d7b8158f8891329181.tar.gz
support :=/:==/:=== commands: print number without trailing linefeed
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 3aaf816..257e29d 100644
--- a/src/core-commands.c
+++ b/src/core-commands.c
@@ -605,7 +605,8 @@ teco_state_start_input(teco_machine_main_t *ctx, gunichar chr, GError **error)
.modifier_colon = 1},
['X'] = {&teco_state_copytoqreg,
.modifier_at = TRUE, .modifier_colon = 1},
- ['='] = {&teco_state_print_decimal},
+ ['='] = {&teco_state_print_decimal,
+ .modifier_colon = 1},
/*
* Arithmetics