Skip to content

Add option scrollOnUserInput#4289

Merged
Tyriar merged 2 commits intoxtermjs:masterfrom
JasonXJ:scroll-options
Dec 11, 2022
Merged

Add option scrollOnUserInput#4289
Tyriar merged 2 commits intoxtermjs:masterfrom
JasonXJ:scroll-options

Conversation

@JasonXJ
Copy link
Copy Markdown

@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
Copy Markdown
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

@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
Copy Markdown
Author

JasonXJ commented Dec 8, 2022

I think this is good to merge now?

Copy link
Copy Markdown
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!

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