Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | initialize input before output in example | Jesse Luehrs | 2021-03-12 | 1 | -1/+1 |
| | | | | | | this way we're sure that raw mode is enabled before data is sent (so programs that are waiting for input won't accidentally send data too early) | ||||
* | wait for a key instead of sleeping in examples | Jesse Luehrs | 2021-03-12 | 2 | -10/+15 |
| | |||||
* | make the order of operations a bit more natural here | Jesse Luehrs | 2021-03-12 | 1 | -1/+2 |
| | |||||
* | move the guards back onto the main objects | Jesse Luehrs | 2021-03-12 | 4 | -17/+7 |
| | |||||
* | add test example for async input as well | Jesse Luehrs | 2021-03-11 | 1 | -0/+35 |
| | |||||
* | minor cleanups | Jesse Luehrs | 2021-03-09 | 1 | -5/+3 |
| | |||||
* | make raw_guard also async | Jesse Luehrs | 2021-03-09 | 1 | -1/+1 |
| | | | | i think tcsetattr etc can actually block in some cases | ||||
* | handle errors properly in raw guard | Jesse Luehrs | 2021-03-09 | 2 | -2/+2 |
| | |||||
* | add an error type | Jesse Luehrs | 2021-03-09 | 1 | -1/+1 |
| | |||||
* | add async implementation of Input | Jesse Luehrs | 2021-03-09 | 1 | -13/+8 |
| | | | | | this is just copied and pasted for now, need to figure out how to generate one from the other | ||||
* | simplify | Jesse Luehrs | 2021-03-09 | 1 | -11/+3 |
| | |||||
* | add input tester | Jesse Luehrs | 2021-03-08 | 1 | -0/+27 |
| | |||||
* | more refactoring | Jesse Luehrs | 2021-03-08 | 1 | -10/+8 |
| | |||||
* | reorganize a bit | Jesse Luehrs | 2021-03-07 | 1 | -4/+4 |
| | |||||
* | cleanup | Jesse Luehrs | 2021-03-07 | 1 | -3/+2 |
| | |||||
* | separate out the guards from the main structs | Jesse Luehrs | 2021-03-07 | 3 | -11/+18 |
| | |||||
* | a few renames | Jesse Luehrs | 2021-03-07 | 3 | -12/+12 |
| | |||||
* | cleanup | Jesse Luehrs | 2021-03-07 | 1 | -2/+2 |
| | |||||
* | sketch out some input handling | Jesse Luehrs | 2021-03-07 | 1 | -109/+73 |
| | |||||
* | also set the appropriate terminal modes | Jesse Luehrs | 2021-03-07 | 1 | -2/+10 |
| | |||||
* | a bunch more improvements | Jesse Luehrs | 2021-03-07 | 1 | -15/+120 |
| | |||||
* | add tmux example | Jesse Luehrs | 2021-03-06 | 1 | -0/+331 |
| | |||||
* | rename a bit | Jesse Luehrs | 2021-03-06 | 2 | -3/+3 |
| | |||||
* | split into sync and async implementations | Jesse Luehrs | 2021-03-06 | 2 | -1/+32 |
| | |||||
* | basic sketch of an implementation | Jesse Luehrs | 2021-03-06 | 1 | -0/+19 |