HF RL Explorer

GetCursorUpPosition causes index out of range panic

GetCursorUpPosition causes index out of range panic: a task in UltraTerminal (Harbor dataset). When moving the cursor up in a document, the GetCursorUpPosition method causes a panic with "index out of range" error. This happens when the cursor movement calculation results in accessing an invalid…

The task

When moving the cursor up in a document, the `GetCursorUpPosition` method causes a panic with "index out of range" error. This happens when the cursor movement calculation results in accessing an invalid row index.

Part of harness-hub/UltraTerminal.