Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return success if ReadCharacterInput read >0 characters (#15122)
This is a regression caused by 599b550. If I'm reading `stream.cpp` in cf87590 right, it returns `STATUS_SUCCESS` if `ReadCharacterInput` read at least 1 character. I think? this PR makes the code behave exactly equivalent. The old code is a bit of an "acquired taste" so it's a bit hard to tell. Closes #15116 ## PR Checklist * Run `more long_text_file.txt` in cmd * Press Spacebar * Scrolls down ✅ * Press Q * Exits ✅
- Loading branch information