Why doesn't the action field support passing in a function? Would that be better? #5505
-
What Operating System(s) are you running on?macOS Which Wayland compositor or X11 Window manager(s) are you using?No response WezTerm version20240203-110809-5046fc22 Ask your question!config.keys = {
{key = 'f', mods = 'CMD', action = function () end} -- Why doesn't the action field support passing in a function? Would that be better?
} |
Beta Was this translation helpful? Give feedback.
Answered by
bew
Jun 2, 2024
Replies: 1 comment
-
You can assign a function through |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alkene0005
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can assign a function through
wezterm.action_callback(your_function_here)