Skip to content

feat: add Shift+Enter keybinding for new line in terminal #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling
Choose a base branch
from

Conversation

ThomasK33
Copy link
Member

Added Shift+Enter shortcut for new line in terminal

This PR adds a keyboard shortcut (Shift+Enter) in the terminal that inserts a backslash followed by a newline, making it easier to continue commands on a new line. The change also improves type annotations for better code documentation, specifically updating the return type annotation to snacks.terminal.Opts and the snacks_win_opts type to snacks.win.Config.

Copy link
Member Author

ThomasK33 commented Aug 8, 2025

@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from 683498d to f756826 Compare August 8, 2025 11:36
@ThomasK33 ThomasK33 linked an issue Aug 8, 2025 that may be closed by this pull request
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from f756826 to 81582b3 Compare August 8, 2025 14:18
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling branch from 004c32f to 4ccf295 Compare August 8, 2025 14:18
Change-Id: I9a5eee55b87db158dbf93266ef809ca10216b070
Signed-off-by: Thomas Kosiewski <[email protected]>

Co-authored-by: alex35mil <[email protected]>
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_PartialClaudeCodeConfig_type_for_better_configuration_handling branch from 4ccf295 to cc09df9 Compare August 8, 2025 19:34
@ThomasK33 ThomasK33 force-pushed the thomask33/feat_add_Shift_Enter_keybinding_for_new_line_in_terminal branch from 81582b3 to 5acc233 Compare August 8, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] shift + Enter do not create new lines with snacks provider
1 participant