Shift+Enter does not insert a newline even though the UI hint says it should

Open
#10 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
go
Domain
cli

Research direction

Start by reproducing the shortcut in the composer and tracing the input handling and the UI hint that names Shift+Enter. Compare its behavior with Ctrl+J in the reported macOS terminal environments. Done means Shift+Enter inserts a newline and the documented hint matches the working behavior.

Written by the indexing model from the issue text.

Description

The input hint says Shift+Enter should insert a new line, but that does not work for me.

When I press Shift+Enter in the composer, nothing happens. The only way I can insert a new line is with Ctrl+J.

This is confusing because the on-screen hint explicitly says Shift+Enter should work.

I tested this in:

  • Alacritty
  • Ghostty

Expected behavior:

  • Shift+Enter inserts a newline in the input box

Actual behavior:

  • Shift+Enter does not insert a newline
  • Ctrl+J does insert a newline

Environment:

  • macOS 15.6.1

  • Apple Silicon

  • kit installed with:

    go install github.com/mark3labs/kit/cmd/kit@latest
    
Dominant language
Go
Stars
134
Forks
24
Avg merge
8h 59m
Merged PRs (30d)
23

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mark3labs/kit

All issues in mark3labs/kit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.