aboutsummaryrefslogtreecommitdiff
path: root/src/Wetterhorn/Foreign
Commit message (Collapse)AuthorAge
* Just a whole bunch of changesJosh Rahm2024-03-27
|
* Implement more stuff. Add DSL for binding to the new input handler.Josh Rahm2024-03-21
|
* Implementing button presses and integrating it with the KeysM monad.Josh Rahm2024-03-19
|
* Change KeysM to use a ContT monad instead of rolling my own.Josh Rahm2024-03-19
| | | | | Turns out the haskell geniuses already figured out how to encapsulate such asynchronous control flow.
* Have Wetterhorn keep track of the windows.Josh Rahm2024-03-15
|
* Added a new KeysM monad.Josh Rahm2024-03-04
| | | | | | | | | | | | | | | This monad allows keybindings to look and feel like one is writing blocking code with constructs like: key <- nextKey when (key == x) $ do key2 <- nextKey ... ... but this code does not block or do any io shenanigans, it under the hood just changes the handler on the state. It seems pretty awesome and opens the doors for some pretty expressive key bindings.
* Huge refactor for the Haskell code.Josh Rahm2024-02-28
This adds new layout configuration, preparing for actually using the layouts. This also restructures the code and tries to keep code interfacing with the foreign structures together and rename them to more sensible names.