Fix panic on a read error during the second-chance read
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The read error left a nil buffer, and the deferred slice in GetChar panicked instead of returning Fatal.
authored by Junegunn Choi · committed by Junegunn Choi · parent b563e20 · Browse files · 2 files+28 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+28 added−1 removed
- other:+28 added−1 removed