diff options
author | Steve Bennett <steveb@workware.net.au> | 2016-09-04 13:54:59 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-09-05 09:40:26 +1000 |
commit | ed4923bc71b7630cc34328b32704e806bb10c614 (patch) | |
tree | 024ee39a3b430a447bc2fc1a49a0110a21cef013 /auto.def | |
parent | c672379dca1fe3fa7b89e1d8c6b1a1e570bb4043 (diff) | |
download | jimtcl-ed4923bc71b7630cc34328b32704e806bb10c614.zip jimtcl-ed4923bc71b7630cc34328b32704e806bb10c614.tar.gz jimtcl-ed4923bc71b7630cc34328b32704e806bb10c614.tar.bz2 |
Add utf-8 display width info
Needed when using linenoise line editing with utf-8 support
Note that variable width support is not yet added to linenoise
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -173,6 +173,7 @@ if {[opt-bool utf8 full]} { msg-result "Enabling UTF-8" define JIM_UTF8 define-append CCOPTS -DUSE_UTF8 + define PARSE_UNIDATA_FLAGS "" incr jimregexp } else { define JIM_UTF8 0 @@ -219,6 +220,7 @@ if {[opt-bool lineedit full]} { msg-result "Enabling line editing" define USE_LINENOISE define-append CCOPTS -DNO_COMPLETION + define-append PARSE_UNIDATA_FLAGS -width lappend extra_objs linenoise.o } } |