feat(toggle): return toggle after map

This commit is contained in:
Folke Lemaitre 2024-12-12 08:00:12 +01:00
parent 1c412f11c0
commit 4f22016b4b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -112,6 +112,7 @@ function Toggle:map(keys, opts)
self:_wk(keys, mode)
end)
end
return self
end
function Toggle:_wk(keys, mode)