terminal: add redraw=last for bash for OSC133

This commit is contained in:
Mitchell Hashimoto
2026-01-31 15:09:43 -08:00
parent 4bee8202a8
commit 918c2934a3
6 changed files with 170 additions and 43 deletions

View File

@@ -4295,7 +4295,7 @@ fn clickMoveCursor(self: *Surface, to: terminal.Pin) !void {
// This flag is only set if we've seen at least one semantic prompt
// OSC sequence. If we've never seen that sequence, we can't possibly
// move the cursor so we can fast path out of here.
if (!t.flags.shell_redraws_prompt) return;
if (!t.screens.active.flags.semantic_content) return;
// Get our path
const from = t.screens.active.cursor.page_pin.*;