Skip to content

PromptRenameTab

Since: Nightly Builds Only

The functionality described in this section requires a nightly build of wakterm. You can obtain a nightly build by following the instructions from the Download section.

Prompts for a new title for the current tab and applies it when you press Enter.

The input field is pre-populated with:

  • the current explicit tab title, if one is set
  • otherwise the current pane title
config.keys = {
  {
    key = 'E',
    mods = 'CTRL|SHIFT',
    action = wakterm.action.PromptRenameTab,
  },
}

This is a convenience wrapper around the common PromptInputLine + window:active_tab():set_title(...) pattern.