Skip to content

Conversation

@coreyberla
Copy link

It's easy to push ctrl+c accidentally which closes the entire app. Just as Claude and Gemini do, require ctrl+c twice in order to close the app.

Fixes #7957

What does this PR do?

How did you verify your code works?

@github-actions
Copy link
Contributor

Hey! Your PR title tweak(console): Prevent accidental exiting 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
Contributor

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

Found a potential duplicate:

This appears to be a previous attempt at implementing the same functionality. You should review whether PR #4900 was closed/abandoned and why, or if this new PR is meant to replace/improve upon it.

It's easy to push ctrl+c accidentally which closes the entire
app.  Just as Claude and Gemini do, require ctrl+c twice in
order to close the app.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UX] Ctrl+C should not exit OpenCode - conflicts with universal copy shortcut

1 participant