Skip to content

Conversation

@ariane-emory
Copy link
Contributor

Resolves #4700.

Submit the argument following opencode --prompt in order to resolve this issue.

@ariane-emory
Copy link
Contributor Author

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.

@rekram1-node
Copy link
Collaborator

This looks good but can we fix the double render? The screen flashes twice

@ariane-emory
Copy link
Contributor Author

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 ariane-emory marked this pull request as draft November 28, 2025 22:17
@rekram1-node
Copy link
Collaborator

@ariane-emory ill send a video

@rekram1-node
Copy link
Collaborator

Screen.Recording.2025-11-28.at.4.19.01.PM.mov

notice once the prompt is submitted it flashes

@ariane-emory
Copy link
Contributor Author

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.

@rekram1-node
Copy link
Collaborator

rekram1-node commented Nov 28, 2025

It was in Zed (which uses alacritty) but I get same behavior in my other terminals too like ghostty

@ariane-emory ariane-emory marked this pull request as ready for review November 29, 2025 02:23
@ariane-emory
Copy link
Contributor Author

ariane-emory commented Nov 29, 2025

Re-rolled the fix.

In this re-roll, a brief delay avoids the flashing defect.

@rekram1-node
Copy link
Collaborator

settimeout is such a hack :/

@ariane-emory
Copy link
Contributor Author

Best I've managed to get out of my robots so far. I can keep playing with it if ya like though.

@ariane-emory ariane-emory marked this pull request as draft December 2, 2025 10:47
@ariane-emory
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opencode --prompt does not begin the session

3 participants