$ show michaelbrusegard/tabline.wez
tabline.wez is a WezTerm plugin that provides a customizable tab bar interface written in Lua. It displays information about tabs, windows, and system status (mode, workspace, battery, CPU, RAM, datetime, domain, etc.) in a configurable layout inspired by lualine.nvim. The architecture is modular with separate components for configuration management, status line rendering, tab formatting, utility functions, and individual information components. Key entry points are in plugin/init.lua which sets up WezTerm event handlers for 'update-status' and 'format-tab-title'. The plugin pulls data from the WezTerm API and system sources to dynamically update the display based on user activity and system status.
The LLM identified 1 files worth highlighting for reuse:
Provides reusable Lua utility functions including deep_extend for recursive table merging, deep_copy for table cloning, insert_elements for array concatenation, and extract_components for handling various component types (strings, tables, functions) with proper formatting, icon handling, and padding. Demonstrates non-obvious skill in handling the complex component system while remaining loosely coupled and easily extractable for use in other Lua projects.