diff options
author | Kunal Mohan <44079328+kunalmohan@users.noreply.github.com> | 2021-12-09 23:30:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 23:30:40 +0530 |
commit | c75bcbd9370249f23031edcd69f6724805c1e034 (patch) | |
tree | a45dab48eb4a0eea8f008db2278ea68c8166b044 /zellij-server/src/pty.rs | |
parent | 368c852e57f3aa0596ef0459d6e9cc41b314cf65 (diff) |
Feature: Add pane names (#928)
* Read pane name from layout
* Update pane name at runtime
* Fix tests
* prefer and render pane name over pane title
* fix clippy errors
* fix after rebase
Diffstat (limited to 'zellij-server/src/pty.rs')
-rw-r--r-- | zellij-server/src/pty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-server/src/pty.rs b/zellij-server/src/pty.rs index d7e2ad47b..99f7e3756 100644 --- a/zellij-server/src/pty.rs +++ b/zellij-server/src/pty.rs @@ -74,7 +74,7 @@ pub(crate) struct Pty { use std::convert::TryFrom; -pub(crate) fn pty_thread_main(mut pty: Pty, layout: LayoutFromYaml) { +pub(crate) fn pty_thread_main(mut pty: Pty, layout: Box<LayoutFromYaml>) { loop { let (event, mut err_ctx) = pty.bus.recv().expect("failed to receive event on channel"); err_ctx.add_call(ContextType::Pty((&event).into())); |