TextBeforeCursor returns incorrect text when cursor position 0
TextBeforeCursor returns incorrect text when cursor position 0: a task in UltraTerminal (Harbor dataset). The TextBeforeCursor() method is returning text that's missing the last character before the cursor position. When the cursor is at position N, it should return all characters from 0 to N-1…
The task
The `TextBeforeCursor()` method is returning text that's missing the last character before the cursor position. When the cursor is at position N, it should return all characters from 0 to N-1, but currently it's returning characters from 0 to N-2.
Part of harness-hub/UltraTerminal.