@lvce-editor/renderer-process 30.79.0 → 30.80.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13052,7 +13052,7 @@ const getTerminalTheme = () => {
13052
13052
  }
13053
13053
  return theme;
13054
13054
  };
13055
- const createTerminal = async uid => {
13055
+ const createTerminal = async (uid, cursorBlink = false) => {
13056
13056
  const [{
13057
13057
  FitAddon
13058
13058
  }, {
@@ -13065,7 +13065,7 @@ const createTerminal = async uid => {
13065
13065
  altClickMovesCursor: false,
13066
13066
  cols: defaultColumns,
13067
13067
  convertEol: true,
13068
- cursorBlink: true,
13068
+ cursorBlink,
13069
13069
  rows: defaultRows,
13070
13070
  theme: getTerminalTheme()
13071
13071
  });
@@ -13102,11 +13102,11 @@ const focusIfConnected = state => {
13102
13102
  state.pendingFocus = false;
13103
13103
  terminal.focus();
13104
13104
  };
13105
- const mountTerminal = async (state, uid) => {
13105
+ const mountTerminal = async (state, uid, cursorBlink) => {
13106
13106
  const {
13107
13107
  fitAddon,
13108
13108
  terminal
13109
- } = await createTerminal(uid);
13109
+ } = await createTerminal(uid, cursorBlink);
13110
13110
  if (state.disposed) {
13111
13111
  terminal.dispose();
13112
13112
  return;
@@ -13163,12 +13163,12 @@ const create = () => {
13163
13163
  terminal: undefined
13164
13164
  };
13165
13165
  };
13166
- const setTerminal = (state, uid) => {
13166
+ const setTerminal = (state, uid, cursorBlink = false) => {
13167
13167
  if (state.terminal) {
13168
13168
  return Promise.resolve();
13169
13169
  }
13170
13170
  if (!state.mountPromise) {
13171
- state.mountPromise = mountTerminal(state, uid);
13171
+ state.mountPromise = mountTerminal(state, uid, cursorBlink);
13172
13172
  }
13173
13173
  return state.mountPromise;
13174
13174
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.79.0",
3
+ "version": "30.80.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"