mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
finding sessions settings in main
This commit is contained in:
parent
a1329bfd45
commit
3c320887d3
@ -90,7 +90,6 @@ class TermWrap {
|
|||||||
cols: this.termSize.cols,
|
cols: this.termSize.cols,
|
||||||
fontSize: opts.fontSize,
|
fontSize: opts.fontSize,
|
||||||
theme: { foreground: terminal.foreground, background: terminal.background },
|
theme: { foreground: terminal.foreground, background: terminal.background },
|
||||||
/*fontFamily: "JetBrains Mono", @check:font */
|
|
||||||
});
|
});
|
||||||
this.terminal._core._inputHandler._parser.setErrorHandler((state) => {
|
this.terminal._core._inputHandler._parser.setErrorHandler((state) => {
|
||||||
this.numParseErrors++;
|
this.numParseErrors++;
|
||||||
|
@ -408,7 +408,6 @@ class SourceCodeRenderer extends React.Component<
|
|||||||
className="message"
|
className="message"
|
||||||
style={{
|
style={{
|
||||||
fontSize: GlobalModel.termFontSize.get(),
|
fontSize: GlobalModel.termFontSize.get(),
|
||||||
/* fontFamily: "JetBrains Mono", @check:font */
|
|
||||||
background: `${this.state.message.status === "error" ? "red" : "#4e9a06"}`,
|
background: `${this.state.message.status === "error" ? "red" : "#4e9a06"}`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -435,7 +434,6 @@ class SourceCodeRenderer extends React.Component<
|
|||||||
className="renderer-container code-renderer"
|
className="renderer-container code-renderer"
|
||||||
style={{
|
style={{
|
||||||
fontSize: GlobalModel.termFontSize.get(),
|
fontSize: GlobalModel.termFontSize.get(),
|
||||||
/* fontFamily: "JetBrains Mono", @check:font */
|
|
||||||
color: "white",
|
color: "white",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -88,7 +88,6 @@ class TermWrap {
|
|||||||
rows: this.termSize.rows,
|
rows: this.termSize.rows,
|
||||||
cols: this.termSize.cols,
|
cols: this.termSize.cols,
|
||||||
fontSize: opts.fontSize,
|
fontSize: opts.fontSize,
|
||||||
/*fontFamily: "JetBrains Mono", @check:font */
|
|
||||||
});
|
});
|
||||||
this.terminal._core._inputHandler._parser.setErrorHandler((state) => {
|
this.terminal._core._inputHandler._parser.setErrorHandler((state) => {
|
||||||
this.numParseErrors++;
|
this.numParseErrors++;
|
||||||
|
Loading…
Reference in New Issue
Block a user