Skip to content

fix: Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682) - #10683

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
ariane-emory:fix/move-toggle-diff-wrap
Jan 26, 2026
Merged

fix: Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682)#10683
rekram1-node merged 1 commit into
anomalyco:devfrom
ariane-emory:fix/move-toggle-diff-wrap

Conversation

@ariane-emory

Copy link
Copy Markdown
Contributor

What does this PR do?

How did you verify your code works?

Manual testing and bun typecheck

Resolves #10682.

- Move diff wrapping toggle from session-level to global app-level commands
- Replace local diffWrapMode signal with kv.signal('diff_wrap_mode', 'word')
- Follow pattern from issue anomalyco#10497 fix for animations toggle
- Toggle now accessible before sending first message
@ariane-emory
ariane-emory marked this pull request as ready for review January 26, 2026 13:50
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Make diff wrapping toggle always available in command_list (resolves #10682) doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@ariane-emory ariane-emory changed the title Make diff wrapping toggle always available in command_list (resolves #10682) Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682) Jan 26, 2026
@ariane-emory ariane-emory changed the title Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682) fix: Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682) Jan 26, 2026
@rekram1-node
rekram1-node merged commit 0edd304 into anomalyco:dev Jan 26, 2026
7 checks passed
@ariane-emory
ariane-emory deleted the fix/move-toggle-diff-wrap branch January 26, 2026 18:14
xenonwellz pushed a commit to xenonwellz/opencode that referenced this pull request Jan 28, 2026
Colin4k1024 pushed a commit to Colin4k1024/opencode that referenced this pull request Feb 10, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
…orrect a type error (resolves #10682) (#10683)
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
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.

TUI:"Disable/Enable diff wrapping" ought be available in the command_list prior to session beginning (and related type error)

2 participants