about summary refs log tree commit diff stats
path: root/buffered-stdin.mu
Commit message (Collapse)AuthorAgeFilesLines
* 708Kartik K. Agaram2015-02-051-1/+1
|
* 690 - convention: '$' commands for debugging onlyKartik K. Agaram2015-02-011-4/+3
| | | | | | Swap printing generalized objects using arc's infrastructure to be the $-prefixed debug helper, while the erstwhile $print-key-to-host becomes the primitive print-character to host.
* 624 - no, that's all wrong, scratch 623Kartik K. Agaram2015-01-251-1/+1
|
* 623 - 'nochange' to guard against race conditionsKartik K. Agaram2015-01-251-1/+1
| | | | | | | | | I dunno, this may all be a wild goose chase. I haven't been disciplined in tagging in-out arguments in 'read-move' and its helpers. Maybe I should just drop those 'nochange' oargs in 'read' and 'write'. Maybe I should reserve output args only for return values that callers might actually care about, and use more conventional metadata like 'const' or 'unique' or 'inout' on other args.
* 621 - fix race condition in buffered-stdin.muKartik K. Agaram2015-01-251-3/+3
|
* 620 - fix broken examples and tests againKartik K. Agaram2015-01-251-12/+14
| | | | | | | | | I just did this in 611; what's the point of all this if tests can't stay passing? I don't understand why buffered-stdin.mu needs to preempt itself. stdin and buffered-stdin somehow end up sharing a single circular buffer, that's probably causing a race condition.
* 616 - buffered-stdin handles backspaceKartik K. Agaram2015-01-251-1/+1
| | | | Chessboard now *almost* handles backspace perfectly.
* 605 - example program for line-oriented inputKartik K. Agaram2015-01-241-0/+27
We need the hack of printing characters typed to screen right after we see them. But only when it's the real screen. And there's no way to write a test for that because it explicitly shouldn't happen for fake terminals :( Never mind, we'll be able to test it when we provide some mechanism for suppressing print. The equivalent of 'stty -echo'.