aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-10-13 19:49:43 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-10-13 19:49:43 -0400
commitc09b1224fbc618f12a92deb196e5d5c50e2bedd4 (patch)
tree7d22989c170ce687cdbbb82f49567cc55aab2155
parentfd773573c260c3ebf1ece705debf92bc3654f9b7 (diff)
downloadlite-xl-plugin-manager-c09b1224fbc618f12a92deb196e5d5c50e2bedd4.tar.gz
lite-xl-plugin-manager-c09b1224fbc618f12a92deb196e5d5c50e2bedd4.zip
Ensures that we actually get all lpm output.
-rw-r--r--plugins/plugin_manager/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_manager/init.lua b/plugins/plugin_manager/init.lua
index 2b27d3a..95dbc6d 100644
--- a/plugins/plugin_manager/init.lua
+++ b/plugins/plugin_manager/init.lua
@@ -113,7 +113,7 @@ local function run(cmd, options)
while true do
local chunk = v[1]:read_stdout(2048)
if config.plugins.plugin_manager.debug and chunk ~= nil then io.stdout:write(chunk) io.stdout:flush() end
- if chunk and v[1]:running() and #chunk == 0 then break end
+ if chunk and #chunk == 0 then break end
if chunk ~= nil and #chunk > 0 then
v[3] = v[3] .. chunk
progress_line, v[3] = extract_progress(v[3])