about summary refs log tree commit diff stats
path: root/src/server
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-14 20:57:45 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-14 21:05:16 +0100
commitd26766c4c4015990703e84e8136f96d222edbc97 (patch)
tree7f412f8ca98d2b04323da5cf2fd607efbd6c408d /src/server
parenta8f05f18fdd64485c26b453e62e8073b50e271ef (diff)
downloadchawan-d26766c4c4015990703e84e8136f96d222edbc97.tar.gz
Move around some modules
* extern -> gone, runproc absorbed by pager, others moved into io/
* display -> local/ (where else would we display?)
* xhr -> html/
* move out WindowAttributes from term, so we don't depend on local
  from server
Diffstat (limited to 'src/server')
-rw-r--r--src/server/buffer.nim4
-rw-r--r--src/server/forkserver.nim2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/buffer.nim b/src/server/buffer.nim
index e4af4232..7e4b7190 100644
--- a/src/server/buffer.nim
+++ b/src/server/buffer.nim
@@ -19,13 +19,13 @@ import css/mediaquery
 import css/sheet
 import css/stylednode
 import css/values
-import display/term
 import html/catom
 import html/chadombuilder
 import html/dom
 import html/enums
 import html/env
 import html/event
+import html/formdata as formdata_impl
 import io/bufstream
 import io/posixstream
 import io/promise
@@ -46,9 +46,9 @@ import types/cookie
 import types/formdata
 import types/opt
 import types/url
+import types/winattrs
 import utils/strwidth
 import utils/twtstr
-import xhr/formdata as formdata_impl
 
 from chagashi/decoder import newTextDecoder
 import chagashi/charset
diff --git a/src/server/forkserver.nim b/src/server/forkserver.nim
index 41784e8f..2c00dd4e 100644
--- a/src/server/forkserver.nim
+++ b/src/server/forkserver.nim
@@ -5,7 +5,6 @@ import std/streams
 import std/tables
 
 import config/config
-import display/term
 import io/posixstream
 import io/serialize
 import io/serversocket
@@ -13,6 +12,7 @@ import loader/loader
 import server/buffer
 import types/urimethodmap
 import types/url
+import types/winattrs
 import utils/strwidth
 
 import chagashi/charset