You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
490 B
14 lines
490 B
import _ from 'lodash';
|
|
|
|
export function mobileKeyboard(): void {
|
|
const [screen] = document.getElementsByClassName('xterm-screen');
|
|
if (_.isNull(screen)) return;
|
|
screen.setAttribute('contenteditable', 'true');
|
|
screen.setAttribute('spellcheck', 'false');
|
|
screen.setAttribute('autocorrect', 'false');
|
|
screen.setAttribute('autocomplete', 'false');
|
|
screen.setAttribute('autocapitalize', 'false');
|
|
/*
|
|
term.scrollPort_.screen_.setAttribute('contenteditable', 'false');
|
|
*/
|
|
}
|
|
|