Add 'shf/' from commit 'b6c5a95b664aeb861d7b33ffc9eefe447ba99dd7'

git-subtree-dir: shf
git-subtree-mainline: 401408448f
git-subtree-split: b6c5a95b66
This commit is contained in:
2026-04-24 00:27:49 +01:00
83 changed files with 43952 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
structure DrawMsg =
struct datatype t = DRAW_TEXT of Real32.real vector | YANK of string end

View File

@@ -0,0 +1,13 @@
structure InputMsg =
struct
datatype t =
CHAR_EVENT of char
| KEY_ESC
| KEY_ENTER
| KEY_BACKSPACE
| RESIZE_EVENT of int * int
| ARROW_LEFT
| ARROW_UP
| ARROW_RIGHT
| ARROW_DOWN
end

View File

@@ -0,0 +1 @@
structure MailboxType = struct datatype t = DRAW of DrawMsg.t end