diff --git a/src/app/common/modals/settings.tsx b/src/app/common/modals/settings.tsx
index c58dc8bd..b7977e11 100644
--- a/src/app/common/modals/settings.tsx
+++ b/src/app/common/modals/settings.tsx
@@ -28,9 +28,9 @@ const VERSION = __WAVETERM_VERSION__;
const BUILD = __WAVETERM_BUILD__;
const ScreenDeleteMessage = `
-Are you sure you want to delete this screen/tab?
+Are you sure you want to delete this tab?
-All commands and output will be deleted, and removed from history. To hide the screen, and retain the commands in history, use 'archive'.
+All commands and output will be deleted, and removed from history. To hide the tab, and retain the commands in history, use 'archive'.
`.trim();
const SessionDeleteMessage = `
@@ -46,7 +46,7 @@ You are responsible for what you are sharing, be smart.
`.trim();
const WebStopShareConfirmMarkdown = `
-Are you sure you want to stop web-sharing this screen?
+Are you sure you want to stop web-sharing this tab?
`.trim();
@mobxReact.observer
@@ -215,14 +215,14 @@ class ScreenSettingsModal extends React.Component<{ sessionId: string; screenId:
{this.shareCopied.get() &&
}
-
Screen Id
+
Tab Id
{screen.screenId}
@@ -269,7 +269,7 @@ class ScreenSettingsModal extends React.Component<{ sessionId: string; screenId:
Archived
- Archive will hide the screen tab. Commands and output will be retained in
+ Archive will hide the tab. Commands and output will be retained in
history.
@@ -281,7 +281,7 @@ class ScreenSettingsModal extends React.Component<{ sessionId: string; screenId:
Actions
- Delete will remove the screen, removing all commands and output from history.
+ Delete will remove the tab, removing all commands and output from history.
@@ -289,7 +289,7 @@ class ScreenSettingsModal extends React.Component<{ sessionId: string; screenId:
onClick={this.handleDeleteScreen}
className="button is-prompt-danger is-outlined is-small"
>
- Delete Screen
+ Delete Tab
diff --git a/src/electron/emain.ts b/src/electron/emain.ts
index 359eb3c7..9e757e81 100644
--- a/src/electron/emain.ts
+++ b/src/electron/emain.ts
@@ -366,7 +366,7 @@ function createMainWindow(clientData) {
electron.shell.openExternal(newUrl);
} else if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("file://")) {
console.log("openExternal fallback", url);
- electron.shell.openExternal(newUrl);
+ electron.shell.openExternal(url);
}
console.log("window-open denied", url);
return { action: "deny" };
diff --git a/waveshell/pkg/shexec/shexec.go b/waveshell/pkg/shexec/shexec.go
index 7661bdba..9d09121d 100644
--- a/waveshell/pkg/shexec/shexec.go
+++ b/waveshell/pkg/shexec/shexec.go
@@ -1597,6 +1597,8 @@ func MShellEnvVars(termType string) map[string]string {
}
rtn["MSHELL"], _ = os.Executable()
rtn["MSHELL_VERSION"] = base.MShellVersion
+ rtn["WAVESHELL"], _ = os.Executable()
+ rtn["WAVESHELL_VERSION"] = base.MShellVersion
return rtn
}
diff --git a/wavesrv/pkg/rtnstate/rtnstate.go b/wavesrv/pkg/rtnstate/rtnstate.go
index 772dda01..b6ba15fc 100644
--- a/wavesrv/pkg/rtnstate/rtnstate.go
+++ b/wavesrv/pkg/rtnstate/rtnstate.go
@@ -105,7 +105,14 @@ func ParseFuncs(funcs string) (map[string]string, error) {
const MaxDiffKeyLen = 40
const MaxDiffValLen = 50
-var IgnoreVars = map[string]bool{"PROMPT": true, "PROMPT_VERSION": true, "MSHELL": true}
+var IgnoreVars = map[string]bool{
+ "PROMPT": true,
+ "PROMPT_VERSION": true,
+ "MSHELL": true,
+ "MSHELL_VERSION": true,
+ "WAVESHELL": true,
+ "WAVESHELL_VERSION": true,
+}
func displayStateUpdateDiff(buf *bytes.Buffer, oldState packet.ShellState, newState packet.ShellState) {
if newState.Cwd != oldState.Cwd {