aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* go back to not using tokio::select!Jesse Luehrs2022-02-241-13/+26
|
* move to tokioJesse Luehrs2022-02-244-147/+110
|
* add move_relativeJesse Luehrs2021-11-131-2/+2
|
* also use the textmode::Color alias in testsJesse Luehrs2021-11-131-2/+2
|
* clean up examples to make a bare `cargo test` workJesse Luehrs2021-03-134-412/+423
|
* initialize input before output in exampleJesse Luehrs2021-03-121-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 examplesJesse Luehrs2021-03-122-10/+15
|
* make the order of operations a bit more natural hereJesse Luehrs2021-03-121-1/+2
|
* move the guards back onto the main objectsJesse Luehrs2021-03-124-17/+7
|
* add test example for async input as wellJesse Luehrs2021-03-111-0/+35
|
* minor cleanupsJesse Luehrs2021-03-091-5/+3
|
* make raw_guard also asyncJesse Luehrs2021-03-091-1/+1
| | | | i think tcsetattr etc can actually block in some cases
* handle errors properly in raw guardJesse Luehrs2021-03-092-2/+2
|
* add an error typeJesse Luehrs2021-03-091-1/+1
|
* add async implementation of InputJesse Luehrs2021-03-091-13/+8
| | | | | this is just copied and pasted for now, need to figure out how to generate one from the other
* simplifyJesse Luehrs2021-03-091-11/+3
|
* add input testerJesse Luehrs2021-03-081-0/+27
|
* more refactoringJesse Luehrs2021-03-081-10/+8
|
* reorganize a bitJesse Luehrs2021-03-071-4/+4
|
* cleanupJesse Luehrs2021-03-071-3/+2
|
* separate out the guards from the main structsJesse Luehrs2021-03-073-11/+18
|
* a few renamesJesse Luehrs2021-03-073-12/+12
|
* cleanupJesse Luehrs2021-03-071-2/+2
|
* sketch out some input handlingJesse Luehrs2021-03-071-109/+73
|
* also set the appropriate terminal modesJesse Luehrs2021-03-071-2/+10
|
* a bunch more improvementsJesse Luehrs2021-03-071-15/+120
|
* add tmux exampleJesse Luehrs2021-03-061-0/+331
|
* rename a bitJesse Luehrs2021-03-062-3/+3
|
* split into sync and async implementationsJesse Luehrs2021-03-062-1/+32
|
* basic sketch of an implementationJesse Luehrs2021-03-061-0/+19