mode: enter/exit debug mode with keybinding lifecycle

This commit is contained in:
swaits committed 2026-04-11 16:36:55 -06:00
1 parent 628b7b7737
commit 78a43da5d1
5 files changed
+219

No files matched your search

+15
View File
@@ -1,3 +1,18 @@
local config = require("tiny-debugger.config")
local mode = require("tiny-debugger.mode")
local M = {}
function M.setup(opts)
config.merge(opts)
end
function M.toggle()
mode.toggle()
end
function M.active()
return mode.is_active()
end
return M