Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to read a single character from stdin #7136

Closed
nex3 opened this issue Dec 4, 2012 · 4 comments
Closed

No way to read a single character from stdin #7136

nex3 opened this issue Dec 4, 2012 · 4 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io

Comments

@nex3
Copy link
Member

nex3 commented Dec 4, 2012

dart:io provides no way of consuming a single character from standard input (or any input stream), such as "getc"/"getchar" in C. This capability is useful for interactive command-line apps.

@andersjohnsen
Copy link

I landed stdio.readByte and stdio.readLine a few days ago.


Set owner to @skabet.
Added Fixed label.

@andersjohnsen
Copy link

And by that I actually mean stdio.readByteSync and stdio.readLineSync :)

@DartBot
Copy link

DartBot commented Jul 4, 2013

This comment was originally written by @sethladd


Thanks!

@kevmoo
Copy link
Member

kevmoo commented May 14, 2014

Removed Area-IO label.
Added Area-Library, Library-IO labels.

@nex3 nex3 added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io labels May 14, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io
Projects
None yet
Development

No branches or pull requests

4 participants