wakterm.gui module¶
Since: Version 20220807-113146-c2fee766
The functionality described in this section requires version 20220807-113146-c2fee766 of wakterm, or a more recent version.
The wakterm.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 wakterm = require 'wakterm'
local gui = wakterm.gui
if gui then
-- do something that depends on the gui layer
end