From aec6806d8f9569c4cfa534836e452d030151328d Mon Sep 17 00:00:00 2001 From: jgmdev Date: Fri, 4 Feb 2022 15:43:42 -0400 Subject: [PATCH] Added system.get_process_id() to api docs. --- docs/api/system.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/system.lua b/docs/api/system.lua index a655099b..e5eff27f 100644 --- a/docs/api/system.lua +++ b/docs/api/system.lua @@ -192,6 +192,12 @@ function system.get_clipboard() end ---@param text string function system.set_clipboard(text) end +--- +---Get the process id of lite-xl it self. +--- +---@return integer +function system.get_process_id() end + --- ---Get amount of iterations since the application was launched ---also known as SDL_GetPerformanceCounter() / SDL_GetPerformanceFrequency()