Add option scrollOnKeypress
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().
This commit is contained in:
Vendored
+6
@@ -193,6 +193,12 @@ declare module 'xterm' {
|
||||
*/
|
||||
scrollback?: number;
|
||||
|
||||
/**
|
||||
* Whether to scroll to the bottom whenever a key is pressed. The default is
|
||||
* true.
|
||||
*/
|
||||
scrollOnKeypress?: boolean;
|
||||
|
||||
/**
|
||||
* The scrolling speed multiplier used for adjusting normal scrolling speed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user