# remove std.io.readLine · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b0d2ebe529593566f209d34d5bbbfd72cde2a6b9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b0d2ebe529593566f209d34d5bbbfd72cde2a6b9

Requested commit: b0d2ebe529593566f209d34d5bbbfd72cde2a6b9

Commit: b0d2ebe529593566f209d34d5bbbfd72cde2a6b9

Tree: 3b280e2487e1577af2d064daff57bb8233ec4b0d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
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`.

```

## Parents

- [3d53a95718bbf7abd17cf69c623aff4e9a97a0b4](https://git.cafe/gitcafe/zig/commit/3d53a95718bbf7abd17cf69c623aff4e9a97a0b4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b0d2ebe529593566f209d34d5bbbfd72cde2a6b9?format=markdown)
