Update typings/xterm.d.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
Megan Rogge
2022-03-15 14:59:48 -04:00
committed by GitHub
co-authored by Daniel Imms
parent b146ffd30f
commit fdc2bc4960
+5 -4
View File
@@ -475,10 +475,11 @@ declare module 'xterm' {
height?: number;
/**
* Renders the decoration in the scrollbar
* with the given @param color and optional @param position.
* If @param position is not set, it will span the full @param overviewRulerWidth, which
* must be provided via @TerminalOptions for this to work.
* When defined, renders the decoration in the overview ruler to the right
* of the terminal. {@link ITerminalOptions.overviewRulerWidth} must be set
* in order to see the overview ruler.
* @param color The color of the decoration.
* @param position The position of the decoration.
*/
overviewRulerOptions?: { color: string; position?: 'left' | 'center' | 'right'}
}