From df44c6dd8344544d614e4dbf121b60e7149244db Mon Sep 17 00:00:00 2001 From: "Claude Opus 4.7" Date: Mon, 4 May 2026 16:58:10 +0200 Subject: [PATCH] docs(input): document close_tab arguments --- src/input/Binding.zig | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/input/Binding.zig b/src/input/Binding.zig index 5b8750f7c..251ce603b 100644 --- a/src/input/Binding.zig +++ b/src/input/Binding.zig @@ -711,7 +711,21 @@ pub const Action = union(enum) { /// Close the current tab and all splits therein, close all other tabs, or /// close every tab to the right of the current one depending on the mode. /// - /// If the mode is not specified, defaults to closing the current tab. + /// Valid arguments: + /// + /// - `this` (default) + /// + /// Close the current tab and all splits within it. + /// + /// - `other` + /// + /// Close every tab in the current window except the current tab. + /// + /// - `right` + /// + /// Close every tab to the right of the current tab. + /// + /// If no argument is given, defaults to `this`. /// /// This might trigger a close confirmation popup, depending on the value /// of the `confirm-close-surface` configuration setting.