-
Some time ago I mapped local ctl = function (k)
return (not OSX and "ctrl+" or "cmd+")..k
end
-- closing the message buffer will hide the view
keys[ctl"w"] = function ()
local label = buffer.tab_label
local closed = buffer:close()
if closed and label == "[Message Buffer]" then
view:unsplit()
end
end Since updating to Textadept 12.x, this fails because Is there any other way to make this work? |
Beta Was this translation helpful? Give feedback.
Answered by
rgieseke
Sep 14, 2023
Replies: 1 comment 2 replies
-
You could check the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
exelotl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could check the
buffer._type
.