You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240812-215703-30345b36
Ask your question!
I am trying to create a keymap such that when I close out of the final tab of the current workspace it will switch to the previous workspace (via a global previous_workspace variable). Here is the code:
However I get this error (the code also has a comment showing what produces the error): 16:20:51.045 ERROR wezterm_gui::termwindow > while processing user-defined-1 event: pane id 172 is not valid stack traceback: [C]: in local 'poll' [string "?"]:4: in method 'perform_action' [string "/home/iton/.config/wezterm/wezterm.lua"]:113: in function <[string "/home/iton/.config/wezterm/wezterm.lua"]:101>
I understand why I am getting the error but am unsure how to properly access the previous workspace.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What Operating System(s) are you running on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240812-215703-30345b36
Ask your question!
I am trying to create a keymap such that when I close out of the final tab of the current workspace it will switch to the previous workspace (via a global previous_workspace variable). Here is the code:
However I get this error (the code also has a comment showing what produces the error):
16:20:51.045 ERROR wezterm_gui::termwindow > while processing user-defined-1 event: pane id 172 is not valid stack traceback: [C]: in local 'poll' [string "?"]:4: in method 'perform_action' [string "/home/iton/.config/wezterm/wezterm.lua"]:113: in function <[string "/home/iton/.config/wezterm/wezterm.lua"]:101>
I understand why I am getting the error but am unsure how to properly access the previous workspace.
Beta Was this translation helpful? Give feedback.
All reactions