Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactor | Jesse Luehrs | 2021-03-13 | 1 | -110/+106 | |
| | ||||||
* | try harder to make utf8 strings when requested | Jesse Luehrs | 2021-03-13 | 2 | -40/+16 | |
| | ||||||
* | refactor, start working on input test | Jesse Luehrs | 2021-03-13 | 4 | -37/+353 | |
| | ||||||
* | add another test | Jesse Luehrs | 2021-03-12 | 4 | -2/+29 | |
| | ||||||
* | 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) | |||||
* | add some test scaffolding | Jesse Luehrs | 2021-03-12 | 6 | -0/+114 | |
| | ||||||
* | 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 | 8 | -26/+54 | |
| | ||||||
* | simplify | Jesse Luehrs | 2021-03-12 | 2 | -32/+27 | |
| | ||||||
* | naming | Jesse Luehrs | 2021-03-12 | 6 | -12/+12 | |
| | ||||||
* | refactor input implementations to share some code | Jesse Luehrs | 2021-03-12 | 4 | -593/+507 | |
| | ||||||
* | also avoid creating Unblocks for stdout | Jesse Luehrs | 2021-03-11 | 1 | -6/+21 | |
| | | | | | | this doesn't cause actual problems, but i think recreating Unblocks over and over is likely a lot less efficient due to spawning/scheduling threads? | |||||
* | only initialize blocking::Unblock once | Jesse Luehrs | 2021-03-11 | 1 | -6/+9 | |
| | | | | | | otherwise the background thread the first call is using will still be blocking on a second read, whose results will be thrown away before the new instance has a chance to read | |||||
* | add test example for async input as well | Jesse Luehrs | 2021-03-11 | 1 | -0/+35 | |
| | ||||||
* | use state_diff | Jesse Luehrs | 2021-03-11 | 2 | -20/+6 | |
| | ||||||
* | fix type alias | Jesse Luehrs | 2021-03-09 | 1 | -2/+1 | |
| | ||||||
* | minor cleanups | Jesse Luehrs | 2021-03-09 | 1 | -5/+3 | |
| | ||||||
* | simplify | Jesse Luehrs | 2021-03-09 | 2 | -12/+13 | |
| | ||||||
* | make raw_guard also async | Jesse Luehrs | 2021-03-09 | 5 | -57/+111 | |
| | | | | i think tcsetattr etc can actually block in some cases | |||||
* | tweak | Jesse Luehrs | 2021-03-09 | 1 | -1/+1 | |
| | ||||||
* | comment | Jesse Luehrs | 2021-03-09 | 2 | -0/+6 | |
| | ||||||
* | handle errors properly in raw guard | Jesse Luehrs | 2021-03-09 | 6 | -16/+26 | |
| | ||||||
* | add an error type | Jesse Luehrs | 2021-03-09 | 8 | -40/+55 | |
| | ||||||
* | add async implementation of Input | Jesse Luehrs | 2021-03-09 | 7 | -200/+577 | |
| | | | | | 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 | 2 | -12/+4 | |
| | ||||||
* | add input tester | Jesse Luehrs | 2021-03-08 | 1 | -0/+27 | |
| | ||||||
* | more refactoring | Jesse Luehrs | 2021-03-08 | 2 | -143/+212 | |
| | ||||||
* | reorganize a bit | Jesse Luehrs | 2021-03-07 | 6 | -13/+16 | |
| | ||||||
* | cleanup | Jesse Luehrs | 2021-03-07 | 2 | -4/+3 | |
| | ||||||
* | separate out the guards from the main structs | Jesse Luehrs | 2021-03-07 | 7 | -66/+133 | |
| | ||||||
* | more derives | Jesse Luehrs | 2021-03-07 | 1 | -1/+1 | |
| | ||||||
* | more renames | Jesse Luehrs | 2021-03-07 | 1 | -1/+1 | |
| | ||||||
* | a few derives | Jesse Luehrs | 2021-03-07 | 1 | -0/+1 | |
| | ||||||
* | a few renames | Jesse Luehrs | 2021-03-07 | 6 | -23/+23 | |
| | ||||||
* | cleanup | Jesse Luehrs | 2021-03-07 | 1 | -2/+2 | |
| | ||||||
* | sketch out some input handling | Jesse Luehrs | 2021-03-07 | 4 | -110/+474 | |
| | ||||||
* | also set the appropriate terminal modes | Jesse Luehrs | 2021-03-07 | 3 | -8/+30 | |
| | ||||||
* | simplify, add some more methods | Jesse Luehrs | 2021-03-07 | 3 | -6/+47 | |
| | ||||||
* | a bunch more improvements | Jesse Luehrs | 2021-03-07 | 3 | -20/+133 | |
| | ||||||
* | bump vt100 | Jesse Luehrs | 2021-03-06 | 1 | -1/+1 | |
| | ||||||
* | add tmux example | Jesse Luehrs | 2021-03-06 | 2 | -0/+334 | |
| | ||||||
* | rename a bit | Jesse Luehrs | 2021-03-06 | 5 | -7/+10 | |
| | ||||||
* | split into sync and async implementations | Jesse Luehrs | 2021-03-06 | 6 | -61/+205 | |
| | ||||||
* | basic sketch of an implementation | Jesse Luehrs | 2021-03-06 | 5 | -7/+178 | |
| | ||||||
* | project skeleton | Jesse Luehrs | 2021-03-06 | 3 | -0/+18 | |
| | ||||||
* | initial commit | Jesse Luehrs | 2021-03-06 | 0 | -0/+0 | |