aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-09-29 02:48:35 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-09-29 02:48:35 -0700
commit991c900fc6d55de3c11f23d06b5c06393abb1b2d (patch)
tree0ad376e80c6d65a4b1c1d5fa85596d4c2aec1c4d /screen.h
parent0d2af9e7422230b633fe228d3b40c6edd229a373 (diff)
Set of changes to improve detection of escape sequences for prompt width
computation. Addresses #767
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 0307fdd7..1d9fde2c 100644
--- a/screen.h
+++ b/screen.h
@@ -227,5 +227,7 @@ enum screen_reset_mode_t
void s_reset(screen_t *s, screen_reset_mode_t mode);
+/* Returns the length of an escape code. Exposed for testing purposes only. */
+size_t escape_code_length(const wchar_t *code);
#endif