Extract reading of input i/o to input

And add the ability of other modules to listen to either
the final result (a `Key`) or tap into the input as it is read
This commit is contained in:
Alexander Heldt
2025-11-20 17:00:36 +01:00
parent b69852f7ba
commit 249b0671e4
7 changed files with 98 additions and 46 deletions

View File

@@ -3,7 +3,7 @@ import gleeunit
import input/key.{type Key, Char}
import mpv/control.{type Control}
import mpv/internal/control as control_internal
import mpv/internal as control_internal
pub fn main() -> Nil {
gleeunit.main()