diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-08 15:50:00 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-08 15:50:00 +0100 |
commit | 8325662186ace9d9d356f6ab37433df98b4842da (patch) | |
tree | d280f516a0f9a057c87bb988570acc779219f027 /DevTools | |
parent | 1037a1d2badb21ecb32606699cd54b9a3b8ff3ed (diff) | |
download | serenity-8325662186ace9d9d356f6ab37433df98b4842da.zip |
more: Read keystrokes from stdout instead of trying to re-open it
If we're running more on a TTY that we don't have filesystem access to,
we can't rely on open(ttyname(STDOUT_FILENO)). Since all the stdio fd's
are opened read/write anyway, we can just read from stdout, even if it
feels a bit weird. :^)
Diffstat (limited to 'DevTools')
0 files changed, 0 insertions, 0 deletions