Commit Graph

17 Commits

Author SHA1 Message Date
Alexander Heldt
875eb9ced9 wip 2025-11-19 18:00:17 +01:00
Alexander Heldt
79c30060c3 Add ability to listen (tap) the input
By doing something like
```
fn input_output_loop(input_output: Subject(List(String))) -> Nil {
  let output = process.receive_forever(input_output)

  echo output

  input_output_loop(input_output)
}
```
2025-11-19 18:00:17 +01:00
Alexander Heldt
6681cc3c69 Add ability to inject characters into the input 2025-11-19 17:57:49 +01:00
Alexander Heldt
6518fd4b30 Add ability to create character sequences as Input 2025-11-19 17:48:51 +01:00
Alexander Heldt
78cc3647c7 Correct io_get_chars comment/documentation 2025-11-19 17:46:58 +01:00
Alexander Heldt
1c47a84750 Extract mpv/key to input
To separate the concern from `mpv`
2025-11-18 18:39:20 +01:00
Alexander Heldt
417b5a2559 Add ability to get playback-time 2025-11-16 16:23:16 +01:00
Alexander Heldt
94212996d2 Map Key to Control 2025-11-16 16:21:54 +01:00
Alexander Heldt
702313eac2 Restructure mpv/internal package 2025-11-16 16:04:06 +01:00
Alexander Heldt
ebdba09bc2 Remove unused Reason.Overflow 2025-11-16 10:40:03 +01:00
Alexander Heldt
c9931ff4d9 Remove unused Key.Empty 2025-11-15 14:31:46 +01:00
Alexander Heldt
bc5297196e Add ability to listen to input 2025-11-15 14:23:56 +01:00
Alexander Heldt
1dcbff3e22 Move echo_server to tests 2025-11-14 19:11:42 +01:00
Alexander Heldt
a1971693ef TCP echo server 2025-11-14 18:41:29 +01:00
Alexander Heldt
28b29d3dbf Send some messages 2025-11-14 18:39:51 +01:00
Alexander Heldt
77f441dea4 Add tcp module 2025-11-14 18:39:23 +01:00
Alexander Heldt
8bbfae4592 Light of day 2025-11-10 08:44:27 +01:00