Skip to content

feat: add missing config fields#112

Merged
DrKJeff16 merged 3 commits into
DrKJeff16:mainfrom
lalvarezt:missing-config-fields
Feb 21, 2026
Merged

feat: add missing config fields#112
DrKJeff16 merged 3 commits into
DrKJeff16:mainfrom
lalvarezt:missing-config-fields

Conversation

@lalvarezt

Copy link
Copy Markdown
Collaborator

Changes

  • Aligned Config type annotations in lua/wezterm/types/config.lua to match upstream Config Rust types.
  • Updated these fields:
    • font_rules: FontRules -> FontRules[]
    • font_shaper: "Harfbuzz" -> "Harfbuzz"|"Allsorts"
    • font_rasterized: "FreeType" -> "FreeType"|"Harfbuzz"
    • min_scroll_bar_height: string -> number|string
    • scrollback_lines: number -> integer
    • tab_max_width: number -> integer

Source(s)

Description (Optional)

Many of the field descriptions are still missing, I used the source code as reference and if not there I used the Full Config & Lua Reference website


Screenshots Or Code Snippets (Optional)

N/A

granted, many of the fields are undocumented but it's better than not
having them
@lalvarezt lalvarezt requested a review from DrKJeff16 as a code owner February 20, 2026 21:47
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
Comment thread lua/wezterm/types/config.lua Outdated
@DrKJeff16 DrKJeff16 self-assigned this Feb 20, 2026
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
@DrKJeff16 DrKJeff16 merged commit 5166cc3 into DrKJeff16:main Feb 21, 2026
1 check passed
@DrKJeff16

DrKJeff16 commented Feb 21, 2026

Copy link
Copy Markdown
Owner

@lalvarezt Took the liberty to order the new options alphabetically for consistency. Thanks for the contribution!

If you're interested in joining as a collaborator please make a form at #90.

@DrKJeff16 DrKJeff16 added enhancement New feature or request missing-types Missing data types found wrong-types Wrong type has been found new-types A PR addresses new data types and/or fields merged This PR has been merged successfully! labels Feb 26, 2026
@lalvarezt

Copy link
Copy Markdown
Collaborator Author

If you're interested in joining as a collaborator please make a form at #90.

sure, that sounds like something I might be interested in. As for right now I'm working on improving the action mapping (I noticed while updating my wezterm confing that some cases are not up to date or even covered). I should have a PR ready soon

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! missing-types Missing data types found 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