docs: update for 20201031-154415-9614e117 release

This commit is contained in:
Wez Furlong committed 2020-10-31 15:51:08 -07:00
1 parent 9614e117e0
commit bb49ecca98
25 files changed
+34 -30

No files matched your search

@@ -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,
@@ -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.
@@ -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
+1 -1
View File
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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