-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240203-110809-5046fc22
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
To Reproduce
Use the following configuration, then press Ctrl+Shift+P
Configuration
local wezterm = require("wezterm")
local act = wezterm.action
wezterm.on("augment-command-palette", function(_, _)
return {
{
brief = "Tab: Rename Current Tab",
icon = "md_rename_box",
doc = "Tab: Rename the title of the current tab.",
action = act.PromptInputLine({
description = "Enter new name for tab",
initial_value = "My Tab Name",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end),
}),
},
}
end)
Expected Behavior
Use the brief or doc
Logs
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working