mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-24 19:13:31 +03:00
fixed beam cursor on xterm (fixes #582)
This commit is contained in:
parent
21d533c7cf
commit
459d6aadd9
@ -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', )
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user