[Terminal Chat] Shift+Enter should add a newline in the textbox #22298

Closed
opened 2026-01-31 08:09:09 +00:00 by claunia · 1 comment
Owner

Originally created by @carlos-zamora on GitHub (Sep 20, 2024).

Originally assigned to: @PankajBhojwani on GitHub.

I pressed "Shift+Enter" expecting a newline and accidentally submitted my query.

With the text box being so large, it feels like "Shift+Enter" should be accepted to add newlines.

I think this is an easy fix. We might just have to use this property: https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.textbox.acceptsreturn?view=winrt-26100#windows-ui-xaml-controls-textbox-acceptsreturn

Originally created by @carlos-zamora on GitHub (Sep 20, 2024). Originally assigned to: @PankajBhojwani on GitHub. I pressed "Shift+Enter" expecting a newline and accidentally submitted my query. With the text box being so large, it feels like "Shift+Enter" should be accepted to add newlines. I _think_ this is an easy fix. We might just have to use this property: https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.textbox.acceptsreturn?view=winrt-26100#windows-ui-xaml-controls-textbox-acceptsreturn
claunia added the Issue-BugIn-PRNeeds-Tag-FixProduct-TerminalArea-Chat labels 2026-01-31 08:09:10 +00:00
Author
Owner

@PankajBhojwani commented on GitHub (Jan 2, 2025):

Fixed in #17993

@PankajBhojwani commented on GitHub (Jan 2, 2025): Fixed in #17993
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22298