From 28a73bcf0fe6fa9cd97e50734fb243c625284a89 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sat, 19 Sep 2020 13:18:44 -0400 Subject: Added `ui.update()` for unit tests. --- core/ui.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core') diff --git a/core/ui.lua b/core/ui.lua index 90b43d90..66828bc2 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -593,4 +593,11 @@ local goto_view -- @class function -- @name menu local menu + +--- +-- Processes pending GTK events, including reading from spawned processes. +-- This function is primarily used in unit tests. +-- @class function +-- @name update +local update ]] -- cgit v1.2.3