This commit is contained in:
sudacode committed 2025-02-19 02:24:24 -08:00
1 parent 4f88084419
commit 611be5f360
22 files changed
+1033 -428

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
local Terminal = require("toggleterm.terminal").Terminal
local notify = require("notify")
local M = {}
function M.term_factory(cfg)
cfg["on_stderr"] = function(_, job, data, name)
notify(name .. " encountered an error on job: " .. job .. "\nData: " .. data, "error")
end
return Terminal:new(cfg)
end
return M