1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 00:21:57 +03:00
wezterm/docs/config/lua/wezterm.gui/index.markdown
2022-08-07 13:26:59 -07:00

444 B

Since: 20220807-113146-c2fee766

The wezterm.gui module exposes functions that operate on the gui layer.

The multiplexer may not be connected to a GUI, so attempting to resolve this module from the mux server will return nil.

You will typically use something like:

local wezterm = require 'wezterm'
local gui = wezterm.gui
if gui then
  -- do something that depends on the gui layer
end

Available functions, constants