Ticket #542 (closed bug: invalid)
Setting stdin to unbuffered doesn't seem to work.
| Reported by: | Karatorian | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | testing | Version: | 1.0.0 |
| Severity: | medium | Keywords: | |
| Cc: | jkeenan | Language: | |
| Patch status: | Platform: | linux |
Description
If you run the following PIR code, it doesn't display the character you type in until after you hit enter (or ^D).
.sub main
.local pmc stdin
stdin = getstdin
stdin."buffer_type"("unbuffered")
$S0 = read stdin, 1
say $S0
.end
Change History
Note: See
TracTickets for help on using
tickets.
