diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-13 13:29:42 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-13 13:29:42 +0100 |
commit | df40fcdde896f636a05d1e3fe598feb2a816f2b9 (patch) | |
tree | cc8ffa2729d5e3b078782047d87bdb9019e349e9 /src/display | |
parent | ab203acf554993d15e37604773f160c84b4d8252 (diff) | |
download | chawan-df40fcdde896f636a05d1e3fe598feb2a816f2b9.tar.gz |
break up twtstr somewhat
Avoid computing e.g. charwidth data for http which does not need it at all.
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/lineedit.nim | 1 | ||||
-rw-r--r-- | src/display/term.nim | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/display/lineedit.nim b/src/display/lineedit.nim index 6dccdded..5edb31d0 100644 --- a/src/display/lineedit.nim +++ b/src/display/lineedit.nim @@ -7,6 +7,7 @@ import display/winattrs import js/javascript import types/cell import types/opt +import utils/strwidth import utils/twtstr import chakasu/charset diff --git a/src/display/term.nim b/src/display/term.nim index 3a3a7773..05d54f98 100644 --- a/src/display/term.nim +++ b/src/display/term.nim @@ -14,6 +14,7 @@ import display/winattrs import types/cell import types/color import types/opt +import utils/strwidth import utils/twtstr import chakasu/charset |