genode/repos/os/include/terminal
Johannes Schlatow 1c49da8ce4 terminal: don't overwrite last column until eol
Introduce a new _overflowed state variable to indicate whether the
horizontal boundary was reached already and to omit subsequent character
output.

This state is necessary to maintain a valid cursor position at all
times. The _overflowed attribute is reset once the cursor is moved into
a valid position again.

To harmonise the bounds checking for _cursor_pos modifications, the
`constrain()` method was added.

Fixes genodelabs/genode#4093

Also fixes a bug in `vpa()` and `vpb()` which moved the cursor
horizontally instead of vertically.
2021-05-05 11:35:27 +02:00
..
cell_array.h terminal: preserve content during resize 2018-05-03 15:31:59 +02:00
char_cell_array_character_screen.h terminal: don't overwrite last column until eol 2021-05-05 11:35:27 +02:00
character_screen_tracer.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
character_screen.h Refactor terminal for intrinsic Unicode support 2019-02-19 11:08:17 +01:00
decoder.h Refactor terminal for intrinsic Unicode support 2019-02-19 11:08:17 +01:00
font_face.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
print.h Terminal: improved handling of escape sequences 2018-08-08 11:27:41 +02:00
read_buffer.h Refactor terminal for intrinsic Unicode support 2019-02-19 11:08:17 +01:00
types.h terminal: don't overwrite last column until eol 2021-05-05 11:35:27 +02:00