diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-26 21:38:18 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-26 21:38:18 -0400 |
commit | 978dfa5e02acfcc35b9f31b9c88255c79ebcfb54 (patch) | |
tree | b781519f8a8ee26fec5cb45e125959944707aa57 /lib | |
parent | 5fb5b80ca4aed97ef01858bfc19a9e752dd25e83 (diff) |
kernel: cons: Fix newline caused by excessive '\b'
Before this commit, if you were to write out too many backspace
characters, it would result in an integer underflow for the
scr->curs_col and scr->ch_col state resulting in the console logic
assuming the cursor has gone too far off the screen which would cause
behavior similar to as if you wrote out a line-feed character.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions