mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
fixes #1667
This commit is contained in:
+2
-2
@@ -101,7 +101,7 @@ function createTerminal(): void {
|
||||
if (e.key === 'Enter') {
|
||||
e.preventDefault();
|
||||
let searchOptions = {
|
||||
regex: document.getElementById('regex').checked,
|
||||
regex: (document.getElementById('regex') as HTMLInputElement).checked,
|
||||
wholeWord: false,
|
||||
caseSensitive: false
|
||||
};
|
||||
@@ -112,7 +112,7 @@ function createTerminal(): void {
|
||||
if (e.key === 'Enter') {
|
||||
e.preventDefault();
|
||||
let searchOptions = {
|
||||
regex: document.getElementById('regex').checked,
|
||||
regex: (document.getElementById('regex') as HTMLInputElement).checked,
|
||||
wholeWord: false,
|
||||
caseSensitive: false
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user