Tech
Preventing Accidental OpenCode Exits with Ctrl+C
OpenCode is powerful, but one default behavior kept getting in my way: pressing Ctrl + C could close the application itself.
If you spend a lot of time in terminals, Ctrl + C is muscle memory. You press it to interrupt a command, stop a long-running process, or simply because your hands move before you think.
Losing the whole OpenCode session because of that is frustrating.
The fix is simple: move the application exit action to a different keybinding.
Change the exit key...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to