Replies: 1 comment
-
Take a look at: https://wezfurlong.org/wezterm/config/lua/wezterm/action_callback.html#usage keys = {
{
mods = 'CTRL',
key = '2',
action = wezterm.action_callback(function(window, pane)
local nowdate = os.date()
window:perform_action(wezterm.action.SendString(nowdate), pane)
end),
},
},
} also, consider using: https://wezfurlong.org/wezterm/config/lua/wezterm.time/Time/format.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want bind a variables to SendString. But it not work.
ex:
Beta Was this translation helpful? Give feedback.
All reactions