-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
area/addon/serializetype/enhancementFeatures or improvements to existing featuresFeatures or improvements to existing features
Milestone
Description
I'm implementing sticky scroll in VS Code (microsoft/vscode#172742) which needs to serialize a particular line. Right now it's rather inefficient as I need to scroll up to the line, not only the line:
// TODO: Serializing all content up to the required line is inefficient; support providing single line/range serialize addon
const s = this._serializeAddon?.serialize({
scrollback: this._xterm.raw.buffer.active.baseY - marker.line
});
if (s) {
const content = s.substring(0, s.indexOf('\r'));
...
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/addon/serializetype/enhancementFeatures or improvements to existing featuresFeatures or improvements to existing features