diff --git a/terminus-terminal/src/frontends/xtermFrontend.ts b/terminus-terminal/src/frontends/xtermFrontend.ts index 107607db..80aec03d 100644 --- a/terminus-terminal/src/frontends/xtermFrontend.ts +++ b/terminus-terminal/src/frontends/xtermFrontend.ts @@ -100,7 +100,7 @@ export class XTermFrontend extends Frontend { this.xterm.setOption('bellStyle', config.terminal.bell) this.xterm.setOption('cursorStyle', { beam: 'bar' - }[config.terminal.cuxrsor] || config.terminal.cursor) + }[config.terminal.cursor] || config.terminal.cursor) this.xterm.setOption('cursorBlink', config.terminal.cursorBlink) this.xterm.setOption('macOptionIsMeta', config.terminal.altIsMeta) // this.xterm.setOption('colors', ) diff --git a/terminus-terminal/src/hterm.ts b/terminus-terminal/src/hterm.ts index 86da4baa..c1468507 100644 --- a/terminus-terminal/src/hterm.ts +++ b/terminus-terminal/src/hterm.ts @@ -52,7 +52,6 @@ hterm.hterm.Terminal.prototype.applyCursorShape = function () { [hterm.hterm.Terminal.cursorShape.BEAM, false], ] let modeNumber = this.cursorMode || 1 - console.log('mode', modeNumber) if (modeNumber >= modes.length) { console.warn('Unknown cursor style: ' + modeNumber) return