Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | use state_diff | Jesse Luehrs | 2021-03-11 | 2 | -20/+6 |
| | |||||
* | fix type alias | Jesse Luehrs | 2021-03-09 | 1 | -2/+1 |
| | |||||
* | simplify | Jesse Luehrs | 2021-03-09 | 2 | -12/+13 |
| | |||||
* | make raw_guard also async | Jesse Luehrs | 2021-03-09 | 4 | -56/+110 |
| | | | | 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 | 4 | -14/+24 |
| | |||||
* | add an error type | Jesse Luehrs | 2021-03-09 | 6 | -39/+53 |
| | |||||
* | add async implementation of Input | Jesse Luehrs | 2021-03-09 | 6 | -187/+569 |
| | | | | | this is just copied and pasted for now, need to figure out how to generate one from the other | ||||
* | more refactoring | Jesse Luehrs | 2021-03-08 | 1 | -133/+204 |
| | |||||
* | reorganize a bit | Jesse Luehrs | 2021-03-07 | 5 | -9/+12 |
| | |||||
* | cleanup | Jesse Luehrs | 2021-03-07 | 1 | -1/+1 |
| | |||||
* | separate out the guards from the main structs | Jesse Luehrs | 2021-03-07 | 4 | -55/+115 |
| | |||||
* | 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 | 3 | -11/+11 |
| | |||||
* | sketch out some input handling | Jesse Luehrs | 2021-03-07 | 2 | -0/+400 |
| | |||||
* | also set the appropriate terminal modes | Jesse Luehrs | 2021-03-07 | 2 | -6/+20 |
| | |||||
* | simplify, add some more methods | Jesse Luehrs | 2021-03-07 | 3 | -6/+47 |
| | |||||
* | a bunch more improvements | Jesse Luehrs | 2021-03-07 | 1 | -4/+12 |
| | |||||
* | rename a bit | Jesse Luehrs | 2021-03-06 | 3 | -4/+7 |
| | |||||
* | split into sync and async implementations | Jesse Luehrs | 2021-03-06 | 3 | -60/+163 |
| | |||||
* | basic sketch of an implementation | Jesse Luehrs | 2021-03-06 | 2 | -5/+154 |
| | |||||
* | project skeleton | Jesse Luehrs | 2021-03-06 | 1 | -0/+7 |