add ability to move from normal mode to move mode, and from move mode back to normal mode

This commit is contained in:
2025-08-09 00:13:02 +01:00
parent 50bdd31d59
commit f46ca01d42
7 changed files with 38 additions and 9 deletions

View File

@@ -39,6 +39,8 @@ struct
_symbol "KEY_B" public : ( unit -> int ) * ( int -> unit );
val (KEY_C, _) =
_symbol "KEY_C" public : ( unit -> int ) * ( int -> unit );
val (KEY_M, _) =
_symbol "KEY_M" public : ( unit -> int ) * ( int -> unit );
val (KEY_T, _) =
_symbol "KEY_T" public : ( unit -> int ) * ( int -> unit );
@@ -78,6 +80,8 @@ struct
_symbol "KEY_DOWN" public : ( unit -> int ) * ( int -> unit );
val (KEY_BACKSPACE, _) =
_symbol "KEY_BACKSPACE" public : ( unit -> int ) * ( int -> unit );
val (KEY_ESC, _) =
_symbol "KEY_ESC" public : ( unit -> int ) * ( int -> unit );
val (KEY_0, _) =
_symbol "KEY_0" public : ( unit -> int ) * ( int -> unit );