-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
So a fairly hardcoded sequence of keys in my brain for emacs is "Ctrl-A Ctrl-K", to go to the beginning of the line and delete it.
Unfortunately, currently in opencode:
- Ctrl-A takes you to the beginning of the entire text window, not the beginning of that line
- Ctrl-K then deletes the first paragraph, which is often something I spent over a minute writing
- There doesn't seem to be an "Undo" function to get this text back (e.g., Ctrl-_ or Cmd-Z)
This has happened to me three times today, and I don't remember it happening before; has something changed?
I could deal with the Ctrl-A behavior if there was some way to undo the Ctrl-K; but to have your work just go up in smoke is really frustrating.
OpenCode version
1.0.119
Steps to reproduce
- Type a paragraph
- Type a second paragraph
- Press "Ctrl-A" then "Ctrl-K" in quick succession
First paragraph is deleted instead of the second paragraph
Screenshot and/or share link
No response
Operating System
macOS
Terminal
Ghostty
b0o
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui