From bb49ecca9876a0d8f87db8a4546b7cfca716b7dc Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 31 Oct 2020 15:51:08 -0700 Subject: [PATCH] docs: update for 20201031-154415-9614e117 release --- docs/changelog.markdown | 6 ++++++ docs/config/appearance.markdown | 8 ++++---- docs/config/keys.markdown | 4 ++-- docs/config/lua/keyassignment/ActivatePaneDirection.md | 2 +- docs/config/lua/keyassignment/AdjustPaneSize.md | 2 +- docs/config/lua/keyassignment/CloseCurrentTab.md | 4 ++-- docs/config/lua/keyassignment/EmitEvent.md | 2 +- docs/config/lua/keyassignment/SplitHorizontal.md | 2 +- docs/config/lua/keyassignment/SplitVertical.md | 2 +- docs/config/lua/keyassignment/TogglePaneZoomState.md | 2 +- docs/config/lua/pane/get_current_working_dir.md | 2 +- docs/config/lua/pane/get_cursor_position.md | 2 +- docs/config/lua/pane/get_dimensions.md | 2 +- docs/config/lua/pane/get_lines_as_text.md | 2 +- docs/config/lua/pane/get_title.md | 2 +- docs/config/lua/pane/pane_id.md | 2 +- docs/config/lua/pane/paste.md | 2 +- docs/config/lua/wezterm/emit.md | 2 +- docs/config/lua/wezterm/on.md | 2 +- docs/config/lua/wezterm/permute_any_mods.md | 2 +- docs/config/lua/wezterm/permute_any_or_no_mods.md | 2 +- docs/config/lua/wezterm/sleep_ms.md | 2 +- docs/config/lua/window/perform_action.md | 2 +- docs/config/lua/window/window_id.md | 2 +- docs/multiplexing.markdown | 2 -- 25 files changed, 34 insertions(+), 30 deletions(-) diff --git a/docs/changelog.markdown b/docs/changelog.markdown index b396e967c..4f619db6e 100644 --- a/docs/changelog.markdown +++ b/docs/changelog.markdown @@ -10,6 +10,10 @@ daily) from the master branch. It may not be usable and the feature set may change. As features stabilize some brief notes about them may accumulate here. +* Not yet! + +### 20201031-154415-9614e117 + * New: split/pane support! `CTRL+SHIFT+ALT+"` to [SplitVertical](config/lua/keyassignment/SplitVertical.md), and `CTRL+SHIFT+ALT+%` to [SplitHorizontal](config/lua/keyassignment/SplitHorizontal.md). * New: [LEADER](config/keys.md#leader-key) modifier key support @@ -19,6 +23,8 @@ brief notes about them may accumulate here. * New color schemes: `Dracula+`, `Gruvbox Light`, `MaterialDarker`, `Overnight Slumber`, `Popping and Locking`, `Rapture`, `jubi`, `nord`. +* New: expanded lua API allows handling URI clicks and keyboard events + with lua callbacks. See [wezterm.on](config/lua/wezterm/on.md) docs. * The GUI layer now normalizes SHIFT state for keyboard processing. If a keypress is ASCII uppercase and SHIFT is held then the SHIFT modifier is removed from the set of active modifiers. This diff --git a/docs/config/appearance.markdown b/docs/config/appearance.markdown index 4a70ef9e0..8433efacc 100644 --- a/docs/config/appearance.markdown +++ b/docs/config/appearance.markdown @@ -216,7 +216,7 @@ return { ## Styling Inactive Panes -*since: nightly builds only* +*since: 20201031-154415-9614e117* By default, inactive panes look no different from active panes, with the exception that the cursor will render as an outline style to indicate that it @@ -257,7 +257,7 @@ reduce it by half, and 2.0 will double the value. Screenshot -*since: nightly builds only* +*since: 20201031-154415-9614e117* You can attach an image to the background of the wezterm window: @@ -304,7 +304,7 @@ on hue, saturation, brigthness transformations. ## Window Background Opacity -*since: nightly builds only* +*since: 20201031-154415-9614e117* If your Operating System provides Compositing support then WezTerm is able to specify the alpha channel value for the background content, rendering the @@ -330,7 +330,7 @@ return { ## Text Background Opacity -*since: nightly builds only* +*since: 20201031-154415-9614e117* When using a background image or background opacity, the image content can have relatively low contrast with respect to the text you are trying to diff --git a/docs/config/keys.markdown b/docs/config/keys.markdown index 7dd552e00..83054ba65 100644 --- a/docs/config/keys.markdown +++ b/docs/config/keys.markdown @@ -70,7 +70,7 @@ The default for `use_ime` is false. The default in earlier releases was `true`. ### Microsoft Windows and Dead Keys -*since: nightly builds only* +*since: 20201031-154415-9614e117* By default, if you are using a layout with *dead keys* (eg: US International layout, or a number of European layouts such as German or French) pressing @@ -326,7 +326,7 @@ You can combine modifiers using the `|` symbol (eg: `"CMD|CTRL"`). ### Leader Key -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* A *leader* key is a a modal modifier key. If leader is specified in the configuration then pressing that key combination will enable a virtual `LEADER` diff --git a/docs/config/lua/keyassignment/ActivatePaneDirection.md b/docs/config/lua/keyassignment/ActivatePaneDirection.md index cdcb5ae81..8d6dd0022 100644 --- a/docs/config/lua/keyassignment/ActivatePaneDirection.md +++ b/docs/config/lua/keyassignment/ActivatePaneDirection.md @@ -1,6 +1,6 @@ # ActivatePaneDirection -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* `ActivatePaneDirection` activate an adjacent pane in the specified direction. In cases where there are multiple adjacent panes in the intended direction, diff --git a/docs/config/lua/keyassignment/AdjustPaneSize.md b/docs/config/lua/keyassignment/AdjustPaneSize.md index 376393dd3..68d92b5e9 100644 --- a/docs/config/lua/keyassignment/AdjustPaneSize.md +++ b/docs/config/lua/keyassignment/AdjustPaneSize.md @@ -1,6 +1,6 @@ # AdjustPaneSize -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* `AdjustPaneSize` manipulates the size of the active pane, allowing the size to be adjusted by an integer amount in a specific direction. diff --git a/docs/config/lua/keyassignment/CloseCurrentTab.md b/docs/config/lua/keyassignment/CloseCurrentTab.md index f24d22e45..35aa41f37 100644 --- a/docs/config/lua/keyassignment/CloseCurrentTab.md +++ b/docs/config/lua/keyassignment/CloseCurrentTab.md @@ -11,9 +11,9 @@ return { } ``` -*Since: nightly* +*Since: 20201031-154415-9614e117* -The nightly builds have changed `CloseCurrentTab` so that it requires +`CloseCurrentTab` was changed so that it requires a boolean `confirm` parameter: ```lua diff --git a/docs/config/lua/keyassignment/EmitEvent.md b/docs/config/lua/keyassignment/EmitEvent.md index 643637b04..3b4e40c99 100644 --- a/docs/config/lua/keyassignment/EmitEvent.md +++ b/docs/config/lua/keyassignment/EmitEvent.md @@ -1,6 +1,6 @@ # EmitEvent -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* This action causes the equivalent of `wezterm.emit(name, window, pane)` to be called in the context of the current pane. diff --git a/docs/config/lua/keyassignment/SplitHorizontal.md b/docs/config/lua/keyassignment/SplitHorizontal.md index 8aa84a1af..ad7c6bab4 100644 --- a/docs/config/lua/keyassignment/SplitHorizontal.md +++ b/docs/config/lua/keyassignment/SplitHorizontal.md @@ -1,6 +1,6 @@ # SplitHorizontal -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Splits the current pane in half horizontally such that the current pane becomes the left half and the new right half spawns a new command. diff --git a/docs/config/lua/keyassignment/SplitVertical.md b/docs/config/lua/keyassignment/SplitVertical.md index 080454097..88560c68f 100644 --- a/docs/config/lua/keyassignment/SplitVertical.md +++ b/docs/config/lua/keyassignment/SplitVertical.md @@ -1,6 +1,6 @@ # SplitVertical -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Splits the current pane in half vertically such that the current pane becomes the top half and the new bottom half spawns a new command. diff --git a/docs/config/lua/keyassignment/TogglePaneZoomState.md b/docs/config/lua/keyassignment/TogglePaneZoomState.md index 27c0f81bf..b787a62fe 100644 --- a/docs/config/lua/keyassignment/TogglePaneZoomState.md +++ b/docs/config/lua/keyassignment/TogglePaneZoomState.md @@ -1,6 +1,6 @@ # TogglePaneZoomState -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Toggles the zoom state of the current pane. A Zoomed pane takes up all available space in the tab, hiding all other panes while it is zoomed. diff --git a/docs/config/lua/pane/get_current_working_dir.md b/docs/config/lua/pane/get_current_working_dir.md index 6b66d220e..d371c8939 100644 --- a/docs/config/lua/pane/get_current_working_dir.md +++ b/docs/config/lua/pane/get_current_working_dir.md @@ -1,6 +1,6 @@ # `pane:get_current_working_dir()` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns the current working directory of the pane, if known. The current directory can be specified by an application sending diff --git a/docs/config/lua/pane/get_cursor_position.md b/docs/config/lua/pane/get_cursor_position.md index 49d2ef62f..40fba6034 100644 --- a/docs/config/lua/pane/get_cursor_position.md +++ b/docs/config/lua/pane/get_cursor_position.md @@ -1,6 +1,6 @@ # `pane:get_cursor_position()` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns a lua representation of the `StableCursorPosition` struct that identifies the cursor position, visibility and shape. diff --git a/docs/config/lua/pane/get_dimensions.md b/docs/config/lua/pane/get_dimensions.md index 4c9f01570..bf65ea753 100644 --- a/docs/config/lua/pane/get_dimensions.md +++ b/docs/config/lua/pane/get_dimensions.md @@ -1,6 +1,6 @@ # `pane:get_dimensions()` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns a lua representation of the `RenderableDimensions` struct that identifies the dimensions and position of the viewport as diff --git a/docs/config/lua/pane/get_lines_as_text.md b/docs/config/lua/pane/get_lines_as_text.md index 3e4db0c40..9b887da79 100644 --- a/docs/config/lua/pane/get_lines_as_text.md +++ b/docs/config/lua/pane/get_lines_as_text.md @@ -1,6 +1,6 @@ # `pane:get_lines_as_text([nlines])` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns the textual representation (not including color or other attributes) of the lines of text in the viewport as a string. diff --git a/docs/config/lua/pane/get_title.md b/docs/config/lua/pane/get_title.md index ab6418166..2778709e0 100644 --- a/docs/config/lua/pane/get_title.md +++ b/docs/config/lua/pane/get_title.md @@ -1,6 +1,6 @@ # `pane:get_title()` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns the title of the pane. This will typically be `wezterm` by default but can be modified by applications that send `OSC 1` (Icon/Tab title changing) diff --git a/docs/config/lua/pane/pane_id.md b/docs/config/lua/pane/pane_id.md index e80dbf089..7dab3434f 100644 --- a/docs/config/lua/pane/pane_id.md +++ b/docs/config/lua/pane/pane_id.md @@ -1,6 +1,6 @@ # `pane:pane_id()` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns the id number for the pane. The Id is used to identify the pane within the internal multiplexer and can be used when making API calls diff --git a/docs/config/lua/pane/paste.md b/docs/config/lua/pane/paste.md index 19259f15d..af9673e0d 100644 --- a/docs/config/lua/pane/paste.md +++ b/docs/config/lua/pane/paste.md @@ -1,6 +1,6 @@ # `pane:paste(text)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Sends the supplied `text` string to the input of the pane as if it were pasted from the clipboard, except that the clipboard is not involved. diff --git a/docs/config/lua/wezterm/emit.md b/docs/config/lua/wezterm/emit.md index 2fc577259..f9f240fc9 100644 --- a/docs/config/lua/wezterm/emit.md +++ b/docs/config/lua/wezterm/emit.md @@ -1,6 +1,6 @@ # `wezterm.emit(event_name, args...)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* `wezterm.emit` resolves the registered callback(s) for the specified event name and calls each of them in turn, passing the additional diff --git a/docs/config/lua/wezterm/on.md b/docs/config/lua/wezterm/on.md index 98c4c5c39..3e431615f 100644 --- a/docs/config/lua/wezterm/on.md +++ b/docs/config/lua/wezterm/on.md @@ -1,6 +1,6 @@ # `wezterm.on(event_name, callback)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* This function follows the html/javascript naming for defining event handlers. diff --git a/docs/config/lua/wezterm/permute_any_mods.md b/docs/config/lua/wezterm/permute_any_mods.md index 2c24fc87c..fc6a49766 100644 --- a/docs/config/lua/wezterm/permute_any_mods.md +++ b/docs/config/lua/wezterm/permute_any_mods.md @@ -1,6 +1,6 @@ # `wezterm.permute_any_mods(table)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* This function is intended to help with generating key or mouse binding entries that should apply regardless of the combination of modifier keys diff --git a/docs/config/lua/wezterm/permute_any_or_no_mods.md b/docs/config/lua/wezterm/permute_any_or_no_mods.md index 3bb9c1396..be73bb298 100644 --- a/docs/config/lua/wezterm/permute_any_or_no_mods.md +++ b/docs/config/lua/wezterm/permute_any_or_no_mods.md @@ -1,6 +1,6 @@ # `wezterm.permute_any_or_no_mods(table)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* This function is intended to help with generating key or mouse binding entries that should apply regardless of the combination of modifier keys diff --git a/docs/config/lua/wezterm/sleep_ms.md b/docs/config/lua/wezterm/sleep_ms.md index 698e9f919..f7b9bbd16 100644 --- a/docs/config/lua/wezterm/sleep_ms.md +++ b/docs/config/lua/wezterm/sleep_ms.md @@ -1,6 +1,6 @@ # `wezterm.sleep_ms(milliseconds)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* `wezterm.sleep_ms` suspends execution of the script for the specified number of milliseconds. After that time period has elapsed, the script diff --git a/docs/config/lua/window/perform_action.md b/docs/config/lua/window/perform_action.md index 6418a1c28..a6b9eaee4 100644 --- a/docs/config/lua/window/perform_action.md +++ b/docs/config/lua/window/perform_action.md @@ -1,6 +1,6 @@ # `window:perform_action(key_assignment, pane)` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Performs a key assignment against the `window` and `pane`. There are a number of actions that can be performed against a `pane` in diff --git a/docs/config/lua/window/window_id.md b/docs/config/lua/window/window_id.md index ca145bf04..9e8cc3668 100644 --- a/docs/config/lua/window/window_id.md +++ b/docs/config/lua/window/window_id.md @@ -1,6 +1,6 @@ # `window:window_id()` -*Since: nightly builds only* +*Since: 20201031-154415-9614e117* Returns the id number for the window. The Id is used to identify the window within the internal multiplexer and can be used when making API calls diff --git a/docs/multiplexing.markdown b/docs/multiplexing.markdown index 85c65b5ab..38c098677 100644 --- a/docs/multiplexing.markdown +++ b/docs/multiplexing.markdown @@ -152,8 +152,6 @@ return { { name = "wsl", connect_automatically = true, - serve_command = ["wsl", "wezterm", "start", "--daemonize", "--front-end", "MuxServer"], - -- NOTE: nightly builds use this instead: serve_command = ["wsl", "wezterm-mux-server", "--daemonize"], } }