aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/stdio-commands.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-26 00:37:43 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-26 00:42:15 +0300
commiteb6f7a82045ad78553fca98c54a51366c55bd7a4 (patch)
treeff0cca8d3dfb71afe832e73616867cd09fdac22c /src/stdio-commands.h
parent574b46657cd5b752597384b31f37dd6a07f063d8 (diff)
downloadsciteco-eb6f7a82045ad78553fca98c54a51366c55bd7a4.tar.gz
implemented the <T> (typeout) command for printing to the terminal from the current buffer
* refactored some code that is common with Xq into teco_get_range_args().
Diffstat (limited to 'src/stdio-commands.h')
-rw-r--r--src/stdio-commands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdio-commands.h b/src/stdio-commands.h
index 33b2594..b6870e7 100644
--- a/src/stdio-commands.h
+++ b/src/stdio-commands.h
@@ -16,7 +16,11 @@
*/
#pragma once
+#include <glib.h>
+
#include "parser.h"
TECO_DECLARE_STATE(teco_state_print_decimal);
TECO_DECLARE_STATE(teco_state_print_string);
+
+void teco_state_start_typeout(teco_machine_main_t *ctx, GError **error);