Uh oh!
There was an error while loading. Please reload this page.
fix(tui): reopen autocomplete after backspace deletes space - #6031
Conversation
b417245 to
7b4f1f0CompareRaviguntakala
commented
Dec 27, 2025
Hey @rekram1-node , just a quick ping to check this PR when you have time. Thanks! |
kommander
commented
Jan 9, 2026
Does it work with CJK characters before and in the @ part? |
Yes, I tested with CJK characters before and in the @ trigger. Autocomplete opens correctly, cursor positioning is fine, and behavior is consistent. The screenshots show: 1.你好 @ (Chinese: "Hello @") |
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
rekram1-node
commented
Jan 12, 2026
/review |
lgtm |
Uh oh!
There was an error while loading. Please reload this page.
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…o#6031) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>





Problem
When typing
/or@, autocomplete shows suggestions.If you press space by mistake, the dropdown closes.
When you press backspace to remove the space, autocomplete does not come back, even though the text is valid again.
Steps to Reproduce
/something→ autocomplete appearsFix
Updated the
onInputlogic to reopen autocomplete when the cursor is back in a valid position.For
/Autocomplete reopens when the text starts with
/and there is no space before the cursorFor
@Finds the closest
@before the cursor and reopens autocomplete if there is no space between@and the cursorTesting
/something→ space → backspace → autocomplete reopens@agent→ space → backspace → autocomplete reopenstest/pathdoes not trigger/autocompleteScreen.Recording.2025-12-23.at.6.31.46.PM.mov
Screen.Recording.2025-12-23.at.6.33.38.PM.mov