Fix scrollback going missing when increase size on Windows

This also forces the scroll bar to sync after a resize early, this may fix
other bugs.

Fixes #2459
This commit is contained in:
Daniel Imms
2019-10-16 15:41:47 -07:00
parent 91cbeecf52
commit 843ea1b610
4 changed files with 37 additions and 21 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export interface IPartialColorSet {
export interface IViewport extends IDisposable {
scrollBarWidth: number;
syncScrollArea(): void;
syncScrollArea(immediate?: boolean): void;
getLinesScrolled(ev: WheelEvent): number;
onWheel(ev: WheelEvent): boolean;
onTouchStart(ev: TouchEvent): void;