fix: default key event not prevented
parent
4c5fe03d2d
commit
65f9eac352
12
main.js
12
main.js
|
@ -8,12 +8,12 @@ import 'xterm/css/xterm.css'
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
const terminal = new Terminal({
|
const terminal = new Terminal({
|
||||||
screenKeys: true,
|
// screenKeys: true,
|
||||||
useStyle: true,
|
// useStyle: true,
|
||||||
cursorBlink: true,
|
// cursorBlink: true,
|
||||||
fullscreenWin: true,
|
// fullscreenWin: true,
|
||||||
maximizeWin: true,
|
// maximizeWin: true,
|
||||||
screenReaderMode: true,
|
// screenReaderMode: true,
|
||||||
});
|
});
|
||||||
const fitAddon = new FitAddon();
|
const fitAddon = new FitAddon();
|
||||||
terminal.loadAddon(fitAddon);
|
terminal.loadAddon(fitAddon);
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
<!DOCTYPE html><html><head><link rel="stylesheet" href="index.6999253a.css"><title>{{.AppName}}</title><style>body::-webkit-scrollbar,div::-webkit-scrollbar,html::-webkit-scrollbar{display:none;width:0}body,html{margin:0;overflow:hidden;padding:0}div#terminal{height:100%;left:0;position:absolute;top:0;width:100%}div#terminal div{height:100%}.xterm-screen,.xterm-viewport{height:100%;margin:0;padding:0}</style></head><body> <div id="terminal"></div> <script type="module" src="index.4bd4d16a.js"></script> </body></html>
|
<!DOCTYPE html><html><head><link rel="stylesheet" href="index.6999253a.css"><title>{{.AppName}}</title><style>body::-webkit-scrollbar,div::-webkit-scrollbar,html::-webkit-scrollbar{display:none;width:0}body,html{margin:0;overflow:hidden;padding:0}div#terminal{height:100%;left:0;position:absolute;top:0;width:100%}div#terminal div{height:100%}.xterm-screen,.xterm-viewport{height:100%;margin:0;padding:0}</style></head><body> <div id="terminal"></div> <script type="module" src="index.52560dc1.js"></script> </body></html>
|
Loading…
Reference in New Issue