mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
@@ -115,7 +115,7 @@ const newTerm = () => {
|
||||
cursorBlink: terminalStore.cursorBlink ? String(terminalStore.cursorBlink).toLowerCase() === 'enable' : true,
|
||||
cursorStyle: terminalStore.cursorStyle ? getStyle() : 'underline',
|
||||
scrollback: terminalStore.scrollback || 1000,
|
||||
scrollSensitivity: terminalStore.scrollSensitivity || 15,
|
||||
scrollSensitivity: terminalStore.scrollSensitivity || 6,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ export const TerminalStore = defineStore({
|
||||
cursorBlink: 'enable',
|
||||
cursorStyle: 'underline',
|
||||
scrollback: 1000,
|
||||
scrollSensitivity: 10,
|
||||
scrollSensitivity: 6,
|
||||
}),
|
||||
actions: {
|
||||
setLineHeight(lineHeight: number) {
|
||||
|
||||
@@ -191,7 +191,7 @@ const form = reactive({
|
||||
cursorBlink: 'Enable',
|
||||
cursorStyle: 'underline',
|
||||
scrollback: 1000,
|
||||
scrollSensitivity: 10,
|
||||
scrollSensitivity: 6,
|
||||
showDefaultConn: false,
|
||||
defaultConn: '',
|
||||
});
|
||||
@@ -329,7 +329,7 @@ const iniTerm = () => {
|
||||
cursorBlink: true,
|
||||
cursorStyle: 'block',
|
||||
scrollback: 1000,
|
||||
scrollSensitivity: 15,
|
||||
scrollSensitivity: 6,
|
||||
});
|
||||
term.value.open(terminalElement.value);
|
||||
applyPreviewBackground();
|
||||
|
||||
Reference in New Issue
Block a user