Skip to content

Commit 592ad05

Browse files
committed
🐛 Add subprocess to background to avoid long wait when quiting
1 parent d01d372 commit 592ad05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompt-style.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if table.unpack == nil then table.unpack = unpack end
1313
---@return string
1414
local function wakatime(cmd)
1515
cmd = cmd or "wakatime-cli --write --plugin=repl-lua-wakatime " ..
16-
"--entity-type=app --entity=lua --alternate-language=lua --project=%s"
16+
"--entity-type=app --entity=lua --alternate-language=lua --project=%s &"
1717
local s, _ = string.find(cmd, "%s")
1818
if s ~= nil then
1919
local project = io.popen("git rev-parse --show-toplevel 2> /dev/null"):read()

0 commit comments

Comments
 (0)