diff options
author | bptato <nincsnevem662@gmail.com> | 2023-08-14 21:38:49 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-08-14 21:38:49 +0200 |
commit | 6b0b7ccfc571b1df8bfbce26703f64e89861f779 (patch) | |
tree | 68e87d16b5285b29ab8ecdbbf887821cc1e0b67e /src/io | |
parent | 5cca932e90387781cfa14ae77d587c25c2e0dcf4 (diff) | |
download | chawan-6b0b7ccfc571b1df8bfbce26703f64e89861f779.tar.gz |
Move charsets into chakasu
Operation "modularize Chawan somewhat" part 1
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/lineedit.nim | 7 | ||||
-rw-r--r-- | src/io/loader.nim | 3 | ||||
-rw-r--r-- | src/io/response.nim | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/src/io/lineedit.nim b/src/io/lineedit.nim index ac10df06..1c1d273c 100644 --- a/src/io/lineedit.nim +++ b/src/io/lineedit.nim @@ -5,15 +5,16 @@ import unicode import bindings/quickjs import buffer/cell -import data/charset import display/term -import encoding/decoderstream -import encoding/encoderstream import js/javascript import types/color import utils/opt import utils/twtstr +import chakasu/charset +import chakasu/decoderstream +import chakasu/encoderstream + type LineEditState* = enum EDIT, FINISH, CANCEL diff --git a/src/io/loader.nim b/src/io/loader.nim index 8e125b31..65ce091f 100644 --- a/src/io/loader.nim +++ b/src/io/loader.nim @@ -20,7 +20,6 @@ import strutils import tables import bindings/curl -import data/charset import io/about import io/connecterror import io/file @@ -42,6 +41,8 @@ import types/url import utils/mimeguess import utils/twtstr +import chakasu/charset + export request export response diff --git a/src/io/response.nim b/src/io/response.nim index dedddbcd..38f6b397 100644 --- a/src/io/response.nim +++ b/src/io/response.nim @@ -1,13 +1,14 @@ import streams import bindings/quickjs -import data/charset import io/headers import io/promise import io/request import js/javascript import types/url +import chakasu/charset + type Response* = ref object res*: int |