Summary
The file picker wouldn't trigger if @ if not the last non-space character:
- Working :

- Not working :

Expected Behavior
File picker would trigger even if @ if not the last non-space character
Actual Behavior
File picker wouldn't trigger if @ if not the last non-space character
Steps to reproduce the issue
- Open
cmd
- Type
something @
- Observes that the file picker would open properly

- Clear the prompt
- Type
something
- Put your cursor before the first character (
s)
- Prepend a whitespace (
)
- Put your cursor before the first character (
)
- Type
@
- Observe that the file picker would not open

Command Code Version
1.15.0
Operating System
Linux
Terminal/IDE
Ghostty 1.3.1
Shell
nushell
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
Summary
The file picker wouldn't trigger if
@if not the last non-space character:Expected Behavior
File picker would trigger even if
@if not the last non-space characterActual Behavior
File picker wouldn't trigger if
@if not the last non-space characterSteps to reproduce the issue
cmdsomething @somethings)))@Command Code Version
1.15.0
Operating System
Linux
Terminal/IDE
Ghostty 1.3.1
Shell
nushell
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response