GUACAMOLE-148: Clarify that the cursor is expected to potentially exceed the terminal bounds.

This commit is contained in:
Michael Jumper 2017-01-28 22:51:21 -08:00
parent 6c1eeb96b0
commit b796b2c933

View File

@ -259,12 +259,18 @@ struct guac_terminal {
int scroll_end; int scroll_end;
/** /**
* The current row location of the cursor. * The current row location of the cursor. Note that while most terminal
* operations will clip the cursor location within the bounds of the
* terminal, this is not guaranteed.
*/ */
int cursor_row; int cursor_row;
/** /**
* The current column location of the cursor. * The current column location of the cursor. Note that while most
* terminal operations will clip the cursor location within the bounds
* of the terminal, this is not guaranteed. There are times when the
* cursor is legitimately outside the terminal bounds (such as when the
* end of a line is reached, but it is not yet necessary to scroll up).
*/ */
int cursor_col; int cursor_col;