aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2025-08-08 11:21:30 +0200
committerGitHub <noreply@github.com>2025-08-08 11:21:30 +0200
commit671569eb8fd44b1fd793c4b5dd305df0f3ac308e (patch)
tree39f82b29dfe58e96ba42e232294f8cc26e86cc0b
parentfix(compact-bar): make tooltip hints use opaque bg (#4356) (diff)
downloadsl0ppij-671569eb8fd44b1fd793c4b5dd305df0f3ac308e.tar.gz
sl0ppij-671569eb8fd44b1fd793c4b5dd305df0f3ac308e.tar.xz
sl0ppij-671569eb8fd44b1fd793c4b5dd305df0f3ac308e.zip
fix(web): use session name as initial document title (#4357)
* fix(web): use session name as initial document title * docs(changelog): add PR
-rw-r--r--CHANGELOG.md1
-rw-r--r--zellij-client/assets/index.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e2266dc3..8d184696 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
* fix: terminal title regression (https://github.com/zellij-org/zellij/pull/4352)
* fix: resurrection listing regression (https://github.com/zellij-org/zellij/pull/4354)
* fix: tooltip keybinding backgrounds (https://github.com/zellij-org/zellij/pull/4356)
+* fix: default to session name for window/tab title in Zellij Web (https://github.com/zellij-org/zellij/pull/4357)
## [0.43.0] - 2025-08-05
* feat: multiple select and bulk pane actions (https://github.com/zellij-org/zellij/pull/4169 and https://github.com/zellij-org/zellij/pull/4171, https://github.com/zellij-org/zellij/pull/4221 and https://github.com/zellij-org/zellij/pull/4286)
diff --git a/zellij-client/assets/index.js b/zellij-client/assets/index.js
index 10f238b5..bfc990fe 100644
--- a/zellij-client/assets/index.js
+++ b/zellij-client/assets/index.js
@@ -18,6 +18,7 @@ document.addEventListener("DOMContentLoaded", async (event) => {
setupInputHandlers(term, sendAnsiKey);
+ document.title = sessionName;
const websockets = initWebSockets(webClientId, sessionName, term, fitAddon, sendAnsiKey);
// Update sendAnsiKey to use the actual WebSocket function returned by initWebSockets