Support blurred cursor

This commit is contained in:
Daniel Imms
2017-09-01 22:42:31 -07:00
parent b57b94ad0b
commit dc1e727613
7 changed files with 78 additions and 10 deletions
+4
View File
@@ -412,6 +412,10 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
this.textarea.focus();
}
public get isFocused(): boolean {
return document.activeElement === this.textarea;
}
public setTheme(theme: ITheme): void {
// TODO: Allow setting of theme before renderer is ready
if (this.renderer) {