8 Commits
Author SHA1 Message Date
mgpinfandWez Furlong 2dda592ba6 Add Confirmation to Key assignment (#6707)
* feat: add Confirmation to KeyAssignment

This displays a confirmation menu similar to close menu.
An optional cancellation action that is triggered when the user
cancels/declines.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-03-08 10:18:40 -07:00
Wez Furlong 67603e73e0 PromptInputLine: fixup per code review
Apply my suggestions from code review.

closes: https://github.com/wez/wezterm/pull/6007
2024-09-22 14:45:11 -07:00
Eduard Korchmar b59cc5b008 feat: add a way to spawn populated LineEditor
feat: support pre-filled content in prompts

docs: document new PromptInputLine parameter

fix: remove reset of line contents
2024-09-22 14:45:11 -07:00
mgpinfandWez Furlong 6a12dd1a13 Custom prompt for PromptInputLine (#6054)
* option to configure PromptInputLine prompt

- Introduces an option to set custom prompt text
- If 'prompt' not passed in parameters, default value of "> " used

* commit: update documentation for PromptInputLine

* Update docs/config/lua/keyassignment/PromptInputLine.md

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-09-22 10:55:55 -07:00
mozumasu f1f87df044 fix: docs typos 2024-09-14 07:39:33 -07:00
Wez Furlong f535c5bdc0 docs: update for 20230408-112425-69ae8472 release 2023-04-08 15:01:26 -07:00
Wez Furlong e3e9821c4d Add InputSelector action
Allows prompting the user to select from a list and then
triggering some action on the selected item.

This is the guts of the launcher menu hooked up to user-supplied
arbitrary entries.
2023-04-05 17:22:09 -07:00
Wez Furlong 336fefb52f Add PromptInputLine and examples of (re)naming tabs/workspaces
refs: https://github.com/wez/wezterm/issues/522
refs: https://github.com/wez/wezterm/issues/1598
2023-04-04 21:11:08 -07:00