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 /adapter | |
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 'adapter')
-rw-r--r-- | adapter/protocol/dirlist.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/adapter/protocol/dirlist.nim b/adapter/protocol/dirlist.nim index 2328cd55..33dcc6ab 100644 --- a/adapter/protocol/dirlist.nim +++ b/adapter/protocol/dirlist.nim @@ -1,5 +1,6 @@ import algorithm +import utils/strwidth import utils/twtstr type DirlistItemType = enum |