diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-02-20 13:43:05 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-02-20 15:30:00 -0500 |
| commit | b0d2ebe529593566f209d34d5bbbfd72cde2a6b9 (patch) | |
| tree | 3b280e2487e1577af2d064daff57bb8233ec4b0d /src/util.cpp | |
| parent | 3d53a95718bbf7abd17cf69c623aff4e9a97a0b4 (diff) | |
| download | zig-b0d2ebe529593566f209d34d5bbbfd72cde2a6b9.tar.gz zig-b0d2ebe529593566f209d34d5bbbfd72cde2a6b9.zip | |
remove std.io.readLine
This was deceptive. It was always meant to be sort of a "GNU readline"
sort of thing where it provides a Command Line Interface to input text.
However that functionality did not exist and it was basically a red
herring for people trying to read line-delimited input from a stream.
In this commit the API is deleted, so that people can find the proper
API more easily.
A CLI text input abstraction would be useful but may not even need to be
in the standard library. As you can see in this commit, the guess_number
CLI game gets by just fine by using `std.fs.File.read`.
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions
