From a07512149088ec8bb47d16ed8fbbfdefd4745626 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 26 Jul 2026 01:20:15 +0200 Subject: implemented E*q to store the last command line `*q` can only be used at the very beginning of the command line. We cannot support it everywhere as Video TECO did since we do not follow the operators in parse-only mode. `E*q` is a replacement, so you can store the previous command line at any later point. This also adds a test case. --- src/core-commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core-commands.c') diff --git a/src/core-commands.c b/src/core-commands.c index 9c70825..58a1ea2 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -2884,6 +2884,7 @@ teco_state_ecommand_input(teco_machine_main_t *ctx, gunichar chr, GError **error /* * Simple Transitions */ + ['*'] = {&teco_state_save_cmdline}, ['%'] = {&teco_state_epctcommand, .modifier_at = TRUE}, ['B'] = {&teco_state_edit_file, -- cgit v1.2.3