From f15a24b2ec14e279d15bd509be79176ee3c4d5c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
Date: Mon, 17 Jun 2019 21:08:07 +0200
Subject: core: add option "close" in command /window (closes #853)

---
 doc/it/autogen/user/weechat_commands.adoc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'doc/it/autogen/user/weechat_commands.adoc')

diff --git a/doc/it/autogen/user/weechat_commands.adoc b/doc/it/autogen/user/weechat_commands.adoc
index fae3a4765..cc1b12df1 100644
--- a/doc/it/autogen/user/weechat_commands.adoc
+++ b/doc/it/autogen/user/weechat_commands.adoc
@@ -974,6 +974,7 @@ Examples:
          resize [-window <number>] [h|v][+|-]<pct>
          balance
          merge [-window <number>] [all]
+         close [-window <number>]
          page_up|page_down [-window <number>]
          refresh
          scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
@@ -998,6 +999,7 @@ Examples:
                if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
       balance: balance the sizes of all windows
         merge: merge window with another (all = keep only one window)
+        close: close window
       page_up: scroll one page up
     page_down: scroll one page down
       refresh: refresh screen
@@ -1034,8 +1036,10 @@ Examples:
     /window resize 75
   resize vertical split, add 10% in size:
     /window resize v+10
-  remove the split:
+  remove the split, keep the current window:
     /window merge
+  close the current window:
+    /window close
   enable bare display for 2 seconds:
     /window bare 2
 ----
-- 
cgit v1.2.3

