You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a quick sketch of adding ctrl+u in the other issue for ctrl+f/ctrl+b, but I'm not sure if they should be added in directly in opencode, or lower down in opentui?
ctrl+d is still overloaded with closing opencode, some people expect that, so there are conflicting expectations on what keybind should do what by default.
ctrl+d is still overloaded with closing opencode, some people expect that, so there are conflicting expectations on what keybind should do what by default.
Commands for Changing Text
end-of-file (usually C-d)
The character indicating end-of-file as set, for example,
by [stty(1)](https://www.man7.org/linux/man-pages/man1/stty.1.html). If this character is read when there are no
characters on the line, and point is at the beginning of
the line, readline interprets it as the end of input and
returns EOF.
delete-char (C-d)
Delete the character at point. If this function is bound
to the same character as the tty EOF character, as C-d
commonly is, see above for the effects. This may also be
bound to the Delete key on some keyboards.
Activity
jdanbrown commentedon Nov 6, 2025
Here's a quick sketch of adding
ctrl+uin the other issue forctrl+f/ctrl+b, but I'm not sure if they should be added in directly in opencode, or lower down in opentui?kommander commentedon Nov 17, 2025
ctrl+unow clears the current line from cursor to beginning, that seems to work for multiline input.kommander commentedon Nov 17, 2025
ctrl+dis still overloaded with closing opencode, some people expect that, so there are conflicting expectations on what keybind should do what by default.jdanbrown commentedon Nov 18, 2025
imo it's working correctly (as of 1.0.76):
ctrl+dwith empty input exits opencodectrl+dwith non-empty input does delete-charBoth of these behaviors match readline:
jdanbrown commentedon Nov 18, 2025
Afaik this issue can be closed now, since the stated problems are now fixed (as of 1.0.76):