fix(web): use session name as initial document title (#4357)
* fix(web): use session name as initial document title * docs(changelog): add PR
This commit is contained in:
parent
7fc8a0308c
commit
671569eb8f
2 changed files with 2 additions and 0 deletions
|
|
@ -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: terminal title regression (https://github.com/zellij-org/zellij/pull/4352)
|
||||||
* fix: resurrection listing regression (https://github.com/zellij-org/zellij/pull/4354)
|
* 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: 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
|
## [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)
|
* 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)
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ document.addEventListener("DOMContentLoaded", async (event) => {
|
||||||
|
|
||||||
setupInputHandlers(term, sendAnsiKey);
|
setupInputHandlers(term, sendAnsiKey);
|
||||||
|
|
||||||
|
document.title = sessionName;
|
||||||
const websockets = initWebSockets(webClientId, sessionName, term, fitAddon, sendAnsiKey);
|
const websockets = initWebSockets(webClientId, sessionName, term, fitAddon, sendAnsiKey);
|
||||||
|
|
||||||
// Update sendAnsiKey to use the actual WebSocket function returned by initWebSockets
|
// Update sendAnsiKey to use the actual WebSocket function returned by initWebSockets
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue