Scroll by exact line amount in alt buffer, unify scroll logic

Fixes #1304
This commit is contained in:
Daniel Imms
2018-03-05 14:22:20 -08:00
parent be7788dda6
commit e137530581
4 changed files with 66 additions and 17 deletions
+1
View File
@@ -89,6 +89,7 @@ export interface IInputHandlingTerminal extends IEventEmitter {
export interface IViewport {
scrollBarWidth: number;
syncScrollArea(): void;
getLinesScrolled(ev: WheelEvent): number;
onWheel(ev: WheelEvent): void;
onTouchStart(ev: TouchEvent): void;
onTouchMove(ev: TouchEvent): void;