diff options
author | Ron Yorston <rmy@pobox.com> | 2018-04-05 15:16:37 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-04-05 15:32:49 +0100 |
commit | af122fe83fcdeb47173459715d39a5fe887a406e (patch) | |
tree | 7be50dbc074d3d73bcbe41a978e850aed90781ba /docs | |
parent | 91ee3425d1d39a86eb0a3460d9f14e57c24e0b83 (diff) | |
download | busybox-w32-af122fe83fcdeb47173459715d39a5fe887a406e.tar.gz busybox-w32-af122fe83fcdeb47173459715d39a5fe887a406e.tar.bz2 busybox-w32-af122fe83fcdeb47173459715d39a5fe887a406e.zip |
ash: emulate raw input to read builtin
Use read_key to emulate raw input when reading from the console.
Limit this to cases where raw input is necessary:
- a maximum number of characters is to be read (-n)
- a timeout has been specified (-t)
- a non-standard delimiter is in use (-d)
This should fix GitHub issue #112 (and other things too!).
Also, omit sections of code that serve no purpose on WIN32.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions