Cursor up movement uses wrong column when preferredColumn is -1
Cursor up movement uses wrong column when preferredColumn is -1: a task in UltraTerminal (Harbor dataset). When moving the cursor up with preferredColumn set to -1, the function incorrectly uses the preferredColumn value instead of the current cursor position column.
The task
When moving the cursor up with `preferredColumn` set to -1, the function incorrectly uses the preferredColumn value instead of the current cursor position column.
Part of harness-hub/UltraTerminal.