diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-30 23:58:32 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-31 00:33:43 +0300 |
commit | 2ec568579823c991b919fa3a2c8583a8db21cb81 (patch) | |
tree | 5ee30e3cde1df8b284aec73380c34b79afdbc8ab /src/interface-gtk/gtk-label.h | |
parent | 86fbf212de71a83e7bb4d83a4b33e54bed52dff9 (diff) | |
download | sciteco-2ec568579823c991b919fa3a2c8583a8db21cb81.tar.gz |
implemented ^T command: allows typing by code and getting characters from stdin or the user
* n:^T always prints bytes (cf. :^A)
* ^T without arguments returns a codepoint or byte from stdin.
In interactive mode, this currentply places a cursor in the message line and waits for a keypress.
Diffstat (limited to 'src/interface-gtk/gtk-label.h')
-rw-r--r-- | src/interface-gtk/gtk-label.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface-gtk/gtk-label.h b/src/interface-gtk/gtk-label.h index c52d073..3cd4cb9 100644 --- a/src/interface-gtk/gtk-label.h +++ b/src/interface-gtk/gtk-label.h @@ -33,3 +33,5 @@ void teco_gtk_label_parse_string(const gchar *str, gssize len, PangoColor *fg, guint16 fg_alpha, PangoColor *bg, guint16 bg_alpha, PangoAttrList **attribs, gchar **text); + +void teco_gtk_label_highlight_getch(TecoGtkLabel *self); |