summaryrefslogtreecommitdiff
path: root/world/ui.sld
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-01-15 19:19:57 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-01-18 22:48:57 +0100
commit6cbfd6331287827fc14791e387c48e97656445c1 (patch)
tree161580920c4c2ad0a237a0f6a9023dc45cf7b0c5 /world/ui.sld
parent81dd326da683f53cecee75b907f55dbd1b5d5460 (diff)
world: start with world-dependent things: ui
Diffstat (limited to 'world/ui.sld')
-rw-r--r--world/ui.sld10
1 files changed, 10 insertions, 0 deletions
diff --git a/world/ui.sld b/world/ui.sld
new file mode 100644
index 0000000..3a4ae56
--- /dev/null
+++ b/world/ui.sld
@@ -0,0 +1,10 @@
+(define-library (world ui)
+ (import (scheme base)
+ (par piece-table))
+ (cond-expand
+ (chibi (import (scheme small)
+ (chibi stty)))
+ (guile (import (nothing)))) ; we fail now, but in the future i can build
+ ; a simple wrapper around termios
+ (export start)
+ (include "ui.scm"))