about summary refs log tree commit diff stats
path: root/src/types
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/types
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/types')
-rw-r--r--src/types/winattrs.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/types/winattrs.nim b/src/types/winattrs.nim
new file mode 100644
index 00000000..7d9e0218
--- /dev/null
+++ b/src/types/winattrs.nim
@@ -0,0 +1,7 @@
+type WindowAttributes* = object
+  width*: int
+  height*: int
+  ppc*: int # cell width
+  ppl*: int # cell height
+  width_px*: int
+  height_px*: int