aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.h
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-04-14 01:16:04 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-04-14 23:19:45 +0200
commit34af154e92383161666751ca69a288c98f5cca60 (patch)
tree8bea36b04c21205321724b8690d53b3a23bc12e5 /src/interface.h
parentcd48ea8f00567f30d9685f96a12b8f123a121f62 (diff)
`^A` now accepts an optional integer to specify the message severityHEADmaster-fmsbw-cimaster
* I.e. you can now log warnings and errors from SciTECO code as well. * We do not need a version of ^A accepting code points, since this is supported by ^T already.
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interface.h b/src/interface.h
index 54f807b..3ee8742 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -60,10 +60,11 @@ GOptionGroup *teco_interface_get_options(void);
void teco_interface_init_color(guint color, guint32 rgb);
typedef enum {
- TECO_MSG_USER,
+ TECO_MSG_USER = 0,
TECO_MSG_INFO,
TECO_MSG_WARNING,
- TECO_MSG_ERROR
+ TECO_MSG_ERROR,
+ TECO_MSG_MAX = TECO_MSG_ERROR
} teco_msg_t;
extern teco_msg_t teco_interface_msg_level;