GetWordBeforeCursor returns incorrect word and causes slice bounds panic
GetWordBeforeCursor returns incorrect word and causes slice bounds panic: a task in UltraTerminal (Harbor dataset). The GetWordBeforeCursor method is returning incorrect words and causing a slice bounds out of range panic in certain cases.
The task
The `GetWordBeforeCursor` method is returning incorrect words and causing a slice bounds out of range panic in certain cases.
Part of harness-hub/UltraTerminal.