Skip to content

fix: type definitions for MuxTab pane info and PaneInformation#108

Merged
DrKJeff16 merged 8 commits into
DrKJeff16:mainfrom
lalvarezt:panes-with-info-types
Feb 20, 2026
Merged

fix: type definitions for MuxTab pane info and PaneInformation#108
DrKJeff16 merged 8 commits into
DrKJeff16:mainfrom
lalvarezt:panes-with-info-types

Conversation

@lalvarezt

Copy link
Copy Markdown
Collaborator

Changes

  • Added MuxTab.PaneInfo and changed MuxTab:panes_with_info() to return MuxTab.PaneInfo[].
  • Aligned PaneInformation with upstream fields by adding foreground_process_name, current_working_dir, has_unseen_output, domain_name, and tty_name.
  • Added PaneProgress with return type options and updated PaneInformation.progress and Pane:get_progress() to use it.
  • Changed wezterm.on("format-window-title", ...) callback typing to use TabInformation/PaneInformation payloads.

Source(s)


Description (Optional)

see above


Screenshots Or Code Snippets (Optional)

not applicable

@lalvarezt lalvarezt requested a review from DrKJeff16 as a code owner February 19, 2026 22:25
@DrKJeff16

Copy link
Copy Markdown
Owner

@lalvarezt One minute, just came back home. Will review soon.

@DrKJeff16 DrKJeff16 self-assigned this Feb 20, 2026
@DrKJeff16 DrKJeff16 added enhancement New feature or request wrong-types Wrong type has been found new-types A PR addresses new data types and/or fields needs-review A PR labeled with this is in need of review labels Feb 20, 2026
@DrKJeff16 DrKJeff16 moved this to In Progress in @wezterm-types Roadmap Feb 20, 2026
@DrKJeff16 DrKJeff16 added this to the v2.0.0-1 milestone Feb 20, 2026
Comment thread lua/wezterm/types/objects/pane-information.lua Outdated
Comment thread lua/wezterm/types/objects/pane-information.lua Outdated
Comment thread lua/wezterm/types/objects/pane-information.lua Outdated
Comment thread lua/wezterm/types/objects/pane-information.lua Outdated
Comment thread lua/wezterm/types/objects/pane-information.lua Outdated
@DrKJeff16 DrKJeff16 force-pushed the panes-with-info-types branch from 9f5d6f0 to 6aab2f5 Compare February 20, 2026 02:13
Comment thread lua/wezterm/types/objects/mux-tab.lua Outdated
@DrKJeff16 DrKJeff16 changed the title fix: fix type definition for MuxTab pane info and PaneInformation fix: type definition for MuxTab pane info and PaneInformation Feb 20, 2026
@DrKJeff16 DrKJeff16 changed the title fix: type definition for MuxTab pane info and PaneInformation fix: type definitions for MuxTab pane info and PaneInformation Feb 20, 2026
Comment thread lua/wezterm/types/objects/mux-tab.lua Outdated
@DrKJeff16 DrKJeff16 self-requested a review February 20, 2026 11:06
lalvarezt and others added 8 commits February 20, 2026 05:06
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Co-authored-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: LM <lalvarezt89@gmail.com>
Co-authored-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: LM <lalvarezt89@gmail.com>
…g information

also added references to the source material
@DrKJeff16 DrKJeff16 force-pushed the panes-with-info-types branch from ad3ee90 to 320bde6 Compare February 20, 2026 11:06
@DrKJeff16 DrKJeff16 merged commit 68f9230 into DrKJeff16:main Feb 20, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in @wezterm-types Roadmap Feb 20, 2026
@DrKJeff16

Copy link
Copy Markdown
Owner

LGTM. Thank you for contributing!

@DrKJeff16 DrKJeff16 added merged This PR has been merged successfully! and removed needs-review A PR labeled with this is in need of review labels Feb 20, 2026
@lalvarezt lalvarezt deleted the panes-with-info-types branch February 20, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request merged This PR has been merged successfully! new-types A PR addresses new data types and/or fields wrong-types Wrong type has been found

Projects

Development

Successfully merging this pull request may close these issues.

2 participants