Files
iris-context/root
VERSE 85ac76e85a fix(wrapper): skip alias expansion on paste (#38)
When you paste text in most modern terminals (Alacritty, iTerm2, Kitty,
WezTerm...), the terminal enables bracketed paste mode and wraps the
pasted content between two control strings:

`\x1b[200~` --> start pasting
`\x1b[201~` --> end pasting
Previously, iris detected these two strings but didn't track the state.
Now I have:

Declared `inBracketedPaste := false` before the stdin loop
Set `inBracketedPaste = true` when receiving `\x1b[200~`, `false` when
receiving `\x1b[201~`
Checked `!inBracketedPaste` before triggering the alias expansion
reset `inBracketedPaste` on enter/ctrl-c/ctrl-u and when executing
2026-07-14 09:09:16 +07:00
..
2026-05-09 23:49:33 +07:00
2026-05-09 23:49:33 +07:00
2026-05-10 00:52:34 +07:00