docs: update for latest release

This commit is contained in:
Wez Furlong committed 2023-03-26 19:45:32 -07:00
1 parent 3666303c7b
commit f8c60dcddc
10 files changed
+16 -15

No files matched your search

Regular → Executable
+3 -7
View File
@@ -4,20 +4,16 @@ import os
import re
import sys
NIGHTLY = '20230320-124340-559cb7b0'
NIGHTLY = '20230326-111934-3666303c'
NIGHTLY_UPDATE = re.compile('[Ss]ince: nightly builds only', re.MULTILINE)
OLD_SINCE = re.compile('^\*[Ss]ince: (\\S+)\*', re.MULTILINE)
OLD_SINCE_INLINE = re.compile('\(?\*?[Ss]ince: (\\S+)\*?\)?', re.MULTILINE)
SINCE = re.compile("\{\{since\('nightly'", re.MULTILINE)
for p in ["docs/**/*.md", "docs/**/*.markdown"]:
for filename in glob.glob(p, recursive=True):
with open(filename, "r") as f:
content = f.read()
adjusted = NIGHTLY_UPDATE.sub(f"Since: {NIGHTLY}", content)
adjusted = OLD_SINCE.sub("{{since('\\1')}}", adjusted)
adjusted = OLD_SINCE_INLINE.sub("{{since('\\1', inline=True)}}", adjusted)
adjusted = SINCE.sub(f"{{{{since('{NIGHTLY}'", content)
if content != adjusted:
print(filename)
with open(filename, "w") as f:
+5
View File
@@ -21,6 +21,11 @@ usually the best available version.
As features stabilize some brief notes about them will accumulate here.
#### New
* Not yet
### 20230326-111934-3666303c
#### New
* [mouse_wheel_scrolls_tabs](config/lua/config/mouse_wheel_scrolls_tabs.md) option
to control whether the mouse wheel can be used to activate tabs when hovering
+1 -1
View File
@@ -1,6 +1,6 @@
# `wezterm cli activate-pane`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
Activates the current pane, or the pane specified via the `--pane-id`
parameter.
+1 -1
View File
@@ -1,6 +1,6 @@
# `wezterm cli activate-tab`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
## Synopsis
+1 -1
View File
@@ -1,6 +1,6 @@
# `wezterm cli kill-pane`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
Immediately and without prompting, kills either the current pane, or the pane
specify via the `--pane-id` parameter.
@@ -1,6 +1,6 @@
# `macos_window_background_blur = 0`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
When combined with `window_background_opacity`, configures the blur radius
amount used by macOS when compositing the window on the screen.
@@ -1,6 +1,6 @@
# `mouse_wheel_scrolls_tabs`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
If `true`, the vertical mouse wheel will switch between tabs when the mouse
cursor is over the tab bar.
+1 -1
View File
@@ -1,6 +1,6 @@
# `pane:move_to_new_tab()`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
Creates a new tab in the window that contains `pane`, and moves `pane` into that tab.
+1 -1
View File
@@ -1,6 +1,6 @@
# `pane:move_to_new_window([WORKSPACE])`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
Creates a window and moves `pane` into that window.
@@ -1,6 +1,6 @@
# `new-tab-button-click`
{{since('nightly')}}
{{since('20230326-111934-3666303c')}}
The `new-tab-button-click` event is emitted when the user clicks on the
"new tab" button in the tab bar. This is the `+` button that is drawn