Skip to content

Commit

Permalink
fix(write): ctrl+j not making new line (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 authored Jan 22, 2025
1 parent 30bc180 commit c11af42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions write/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func (o Options) Run() error {
keymap: defaultKeymap(),
}

m.textarea.KeyMap.InsertNewline = m.keymap.InsertNewline

ctx, cancel := timeout.Context(o.Timeout)
defer cancel()

Expand Down

0 comments on commit c11af42

Please sign in to comment.