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()