diff --git a/src/main.tsx b/src/main.tsx
index 53374b49..f01394bf 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -556,7 +556,7 @@ class CmdInput extends React.Component<{}, {}> {
- {infoMsg.infoerror}
+ [error] {infoMsg.infoerror}
@@ -783,6 +783,7 @@ class ScreenWindowView extends React.Component<{sw : ScreenWindow}, {}> {
{sw.name.get()}{sw.shouldFollow.get() ? "*" : ""}
+
win.lines.length-1-7} cmdRefNum={cmdRefMap[line.lineid] ?? 0}/>
diff --git a/src/sh2.less b/src/sh2.less
index e2cb69bd..5f0c9a7d 100644
--- a/src/sh2.less
+++ b/src/sh2.less
@@ -396,7 +396,7 @@ html, body, #main {
overflow: hidden;
flex-shrink: 0;
- &:first-child {
+ &:nth-child(2) {
margin: 0px 5px 5px 5px;
padding: 0px 5px 5px 5px;
border-top: none;
@@ -560,9 +560,13 @@ body .xterm .xterm-viewport {
padding-right: 0px;
flex-grow: 1;
- .line:first-child {
+ .line:nth-child(2) {
padding-top: 1px;
}
+
+ .lines-spacer {
+ flex-grow: 1;
+ }
}
.cmd-input {