From eb6f7a82045ad78553fca98c54a51366c55bd7a4 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 26 Jul 2025 00:37:43 +0300 Subject: implemented the (typeout) command for printing to the terminal from the current buffer * refactored some code that is common with Xq into teco_get_range_args(). --- src/core-commands.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core-commands.h') diff --git a/src/core-commands.h b/src/core-commands.h index 9ae508b..bf73b8c 100644 --- a/src/core-commands.h +++ b/src/core-commands.h @@ -25,6 +25,8 @@ /** non-operational characters in teco_state_start */ #define TECO_NOOPS " \f\r\n\v" +gboolean teco_get_range_args(const gchar *cmd, gsize *from_ret, gsize *len_ret, GError **error); + /* in cmdline.c */ gboolean teco_state_command_process_edit_cmd(teco_machine_main_t *ctx, teco_machine_t *parent_ctx, gunichar key, GError **error); -- cgit v1.2.3