archived for screens/sessions

This commit is contained in:
sawka
2022-12-25 13:03:34 -08:00
parent ffba2f3d6c
commit 21c4e979d4
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -318,7 +318,7 @@ class LineCmd extends React.Component<{sw : ScreenWindow, line : LineType, width
}
componentDidMount() {
this.componentDidUpdate();
this.componentDidUpdate(null, null, null);
}
componentWillUnmount() {
@@ -621,6 +621,7 @@ class TextAreaInput extends React.Component<{}, {}> {
}
if (e.code == "Escape") {
e.preventDefault();
e.stopPropagation();
let inputModel = GlobalModel.inputModel;
inputModel.toggleInfoMsg();
if (inputModel.inputMode.get() != null) {
+2
View File
@@ -6,6 +6,7 @@ type SessionDataType = {
notifynum : number,
activescreenid : string,
sessionidx : number,
archived? : boolean,
screens : ScreenDataType[],
remotes : RemoteInstanceType[],
@@ -43,6 +44,7 @@ type ScreenDataType = {
screenidx : number,
activewindowid : string,
name : string,
archived? : boolean,
windows : ScreenWindowType[],
screenopts : ScreenOptsType,