Skip to content

Conversation

@anthonykim1
Copy link
Contributor

This resolves the first issue (teleport issue) from: microsoft/vscode#224750 (comment)

@anthonykim1 anthonykim1 self-assigned this Aug 28, 2025
@anthonykim1 anthonykim1 marked this pull request as draft August 28, 2025 04:15
inactiveBuffer: this._alt
});
// Prevent scrollbar "teleport" to top of the terminal, from previous alt buffer.
this._bufferService.syncScrollPosition();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gist: Seems like we had the correct ydisp the whole time, but just needed to update/refresh after coming back from alt buffer.

Had to add public method syncScrollPosition() and call it from here since _onScroll was private to bufferService.

@anthonykim1 anthonykim1 requested a review from Tyriar August 28, 2025 04:38
@anthonykim1 anthonykim1 marked this pull request as ready for review August 28, 2025 04:38
@Tyriar Tyriar added this to the 6.0.0 milestone Aug 28, 2025
@anthonykim1 anthonykim1 marked this pull request as draft August 28, 2025 15:44
@anthonykim1 anthonykim1 marked this pull request as ready for review August 29, 2025 02:23
@anthonykim1 anthonykim1 requested a review from Tyriar August 29, 2025 02:23
@Tyriar Tyriar merged commit 0d1e6b7 into master Aug 29, 2025
41 of 52 checks passed
@Tyriar Tyriar deleted the anthonykim1/fixTeleportAltBuffer branch August 29, 2025 12:41
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.

3 participants