mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Use correct .terminal-cursor for composition view
This commit is contained in:
+1
-1
@@ -259,7 +259,7 @@
|
||||
* Updates the composition view's position.
|
||||
*/
|
||||
CompositionHelper.prototype.updateCompositionViewPosition = function() {
|
||||
var cursor = document.querySelector('.terminal-cursor');
|
||||
var cursor = this.terminal.element.querySelector('.terminal-cursor');
|
||||
term.compositionView.style.left = cursor.offsetLeft + 'px';
|
||||
term.compositionView.style.top = cursor.offsetTop + 'px';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user