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'.
iv class='alt'>
f8a4a457 ^





e5c11a51 ^






















f8a4a457 ^


e5c11a51 ^
e4ac3c9e ^
f8a4a457 ^
204dae92 ^








b301e0c0 ^
204dae92 ^




cdf28227 ^


204dae92 ^
b301e0c0 ^
204dae92 ^

c762564b ^

204dae92 ^



f8a4a457 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89