aboutsummaryrefslogtreecommitdiffstats
path: root/src/input.rs
Commit message (Collapse)AuthorAgeFilesLines
* these don't need to be separate errorsJesse Luehrs2021-12-141-6/+6
|
* clippyJesse Luehrs2021-12-141-18/+40
|
* remove unnecessary result wrappingJesse Luehrs2021-12-141-4/+4
|
* namingJesse Luehrs2021-03-131-4/+4
|
* remove unused return valueJesse Luehrs2021-03-131-4/+4
| | | | | getc is what will return None on eof when it sees that the internal buffer is empty after calling fill_buf.
* docsJesse Luehrs2021-03-131-6/+54
|
* fix a bunch of utf8 parsing issuesJesse Luehrs2021-03-131-15/+12
|
* move the guards back onto the main objectsJesse Luehrs2021-03-121-2/+10
|
* simplifyJesse Luehrs2021-03-121-18/+15
|
* namingJesse Luehrs2021-03-121-2/+2
|
* refactor input implementations to share some codeJesse Luehrs2021-03-121-289/+85
|
* only initialize blocking::Unblock onceJesse Luehrs2021-03-111-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
* make raw_guard also asyncJesse Luehrs2021-03-091-2/+60
| | | | i think tcsetattr etc can actually block in some cases
* commentJesse Luehrs2021-03-091-0/+3
|
* handle errors properly in raw guardJesse Luehrs2021-03-091-2/+2
|
* add an error typeJesse Luehrs2021-03-091-13/+14
|
* add async implementation of InputJesse Luehrs2021-03-091-0/+369
| | | | | this is just copied and pasted for now, need to figure out how to generate one from the other
* reorganize a bitJesse Luehrs2021-03-071-415/+0
|
* separate out the guards from the main structsJesse Luehrs2021-03-071-19/+37
|
* more derivesJesse Luehrs2021-03-071-1/+1
|
* more renamesJesse Luehrs2021-03-071-1/+1
|
* a few derivesJesse Luehrs2021-03-071-0/+1
|
* sketch out some input handlingJesse Luehrs2021-03-071-0/+396