onThemeChange -> setColors

This commit is contained in:
Daniel Imms
2019-05-18 19:31:35 -07:00
parent 24de302d2f
commit 497d31bec3
6 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ export interface IRenderer extends IDisposable {
dimensions: IRenderDimensions;
dispose(): void;
onThemeChange(colors: IColorSet): void;
setColors(colors: IColorSet): void;
onDevicePixelRatioChange(): void;
onResize(cols: number, rows: number): void;
onCharSizeChanged(): void;
@@ -82,7 +82,7 @@ export interface IRenderLayer extends IDisposable {
/**
* Called when the theme changes.
*/
onThemeChange(terminal: ITerminal, colorSet: IColorSet): void;
setColors(terminal: ITerminal, colorSet: IColorSet): void;
/**
* Called when the data in the grid has changed (or needs to be rendered