Skip to content
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

Add option scrollOnUserInput #4289

Merged
merged 2 commits into from
Dec 11, 2022
Merged

Add option scrollOnUserInput #4289

merged 2 commits into from
Dec 11, 2022

Conversation

JasonXJ
Copy link

@JasonXJ JasonXJ commented Dec 6, 2022

Note that we also change the existing behavior a bit: CoreService.triggerDataEvent() will not scroll to the bottom unless wasUserInput is also true. This actually seems to be the intended behavior according to the doc just above
ICoreService.triggerDataEvent().

Also see issue #1824

Note that we also change the existing behavior a bit:
CoreService.triggerDataEvent() will not scroll to the bottom unless
`wasUserInput` is also true. This actually seems to be the intended
behavior according to the doc just above
ICoreService.triggerDataEvent().
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

Looks good, just some minor comments

src/common/services/Services.ts Outdated Show resolved Hide resolved
typings/xterm.d.ts Outdated Show resolved Hide resolved
@Tyriar Tyriar added this to the 5.1.0 milestone Dec 6, 2022
@Tyriar Tyriar self-assigned this Dec 6, 2022
@JasonXJ JasonXJ changed the title Add option scrollOnKeypress Add option scrollOnUserInput Dec 7, 2022
@JasonXJ
Copy link
Author

JasonXJ commented Dec 8, 2022

I think this is good to merge now?

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@Tyriar Tyriar merged commit 2e2d275 into xtermjs:master Dec 11, 2022
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.

2 participants