-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: submit the argument to opencode --prompt commands (resolves #4700) #4797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
f8ee907 to
6a9856d
Compare
|
Ohhhhh... I see that the format action is the one adding the trailing whitespace on package.json files. I'll stop trying to 'fix' (air quotes) it. |
|
This looks good but can we fix the double render? The screen flashes twice |
|
Huh, I don't think I've seen that myself but I can definitely take a closer look! I'll redraft it for now and undraft it again once I've addressed this issue. |
|
@ariane-emory ill send a video |
Screen.Recording.2025-11-28.at.4.19.01.PM.movnotice once the prompt is submitted it flashes |
|
Is this in Zed? I'm not 100% certain. Maybe it isn't as visible in iTerm2, but I should be able to grab whichever editor this is this evening and try to figure out enough about it to try replicating. |
|
It was in Zed (which uses alacritty) but I get same behavior in my other terminals too like ghostty |
945ae09 to
7818aed
Compare
|
Re-rolled the fix. In this re-roll, a brief delay avoids the flashing defect. |
|
settimeout is such a hack :/ |
|
Best I've managed to get out of my robots so far. I can keep playing with it if ya like though. |
|
Reverting to draft status until I can figure out a way to do this without either the unwanted TUI flashing defect or use of setTimeout. |
Resolves #4700.
Submit the argument following
opencode --promptin order to resolve this issue.