From d984a8f82a0f4c4c774272f01736fb6e95d30ded Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 22 Aug 2022 18:54:01 -0700 Subject: [PATCH] infolines --- src/main.tsx | 8 ++++++++ src/sh2.less | 5 +++++ src/types.ts | 1 + 3 files changed, 14 insertions(+) diff --git a/src/main.tsx b/src/main.tsx index 96fea3de..dbcfe95e 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -471,6 +471,7 @@ class CmdInput extends React.Component<{}, {}> { let infoShow = GlobalModel.infoShow.get(); let istr : string = null; let istrIdx : number = 0; + let line : string = null; return (
@@ -484,6 +485,13 @@ class CmdInput extends React.Component<{}, {}> { {infoMsg.infomsg}
+ +
+ +
{line}
+
+
+
0}>
diff --git a/src/sh2.less b/src/sh2.less index 6690fae4..8c811672 100644 --- a/src/sh2.less +++ b/src/sh2.less @@ -551,6 +551,11 @@ body .xterm .xterm-viewport { padding-bottom: 2px; } + .info-lines { + color: #d3d7cf; + font-size: 12px; + } + .info-comps { display: flex; flex-direction: row; diff --git a/src/types.ts b/src/types.ts index b20298ea..64b46abd 100644 --- a/src/types.ts +++ b/src/types.ts @@ -221,6 +221,7 @@ type InfoType = { infotitle? : string, infomsg? : string, infoerror? : string, + infolines? : string[], infocomps? : string[], infocompsmore? : boolean, timeoutms? : number,