Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: support shift+enter in terminal#19021

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
code-asher merged 3 commits intomainfromasher/shift+enter
Jul 29, 2025
Merged

Conversation

code-asher
Copy link
Member

@code-ashercode-asher commentedJul 23, 2025
edited
Loading

It acts the same alt+enter, but is more familiar to users.

Closes#18864

@code-ashercode-asher changed the titlefeat: shift+enter in terminal for inserting newlinesfeat: support shift+enter in terminalJul 23, 2025
@code-ashercode-asherforce-pushed theasher/shift+enter branch 2 times, most recently from5fd3af9 to1ad508fCompareJuly 24, 2025 00:20
It acts the same alt+enter, but is more familiar to users.
Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

All good. Just a few comments.

.withBackoff(newExponentialBackoff(1000,6))
.build();
websocket.binaryType="arraybuffer";
websocketRef.current=websocket;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why do you need to do this? It looks strange to me.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

attachCustomKeyEventHandler has no disposer, so we can only add it once, which means I have to do it when we create the terminal (if I did it here we would create additional handlers on every reconnect). But that means I need a stable reference to the websocket.

Is there another way of doing this maybe?

@code-ashercode-asher merged commit558e25d intomainJul 29, 2025
27 checks passed
@code-ashercode-asher deleted the asher/shift+enter branchJuly 29, 2025 17:27
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 29, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

Assignees

@code-ashercode-asher

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add support for Shift+Enter in web terminal
2 participants
@code-asher@BrunoQuaresma

[8]ページ先頭

©2009-2025 Movatter.jp