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
As a plugin, it the following function feels like they miss a parameter to say "execute the function on that pane". They have little to no meaning on the plugin’s pane or would just benefit of a Option<pane_id> or whatever as argument.
clear_screen
edit_scrollback
Just 👀 the function list I think the following would have a similar issue:
page_scroll_{down,up}
resize_focused_pane
resize_focused_pane_with_direction
scroll_{down,up}
scroll_to_{bottom,top}
write{,_chars}
Maybe everything that change something in a pane/tab could have a target_id?
(I’m making a checklist because I think there can be more I did not discovered yet. So I will add them as long as the issue is open, or re-open the issue if you want that flow.)
The text was updated successfully, but these errors were encountered:
MovePaneWithPaneId - move the pane with this ID (circle through its location)
MovePaneWithPaneIdInDirection - switch the location of the pane with this id with another pane in this direction (if it is tiled) or change its location in direction if it is floating
and
TogglePaneIdFullscreen - toggle this pane as fullscreen (if it is tiled) on and off
TogglePaneEmbedOrEjectForPaneId - embed the pane with this id if it is floating, float it if it is tiled
Thanks imsnif for this!
(Note for others: I’m closing the issue since the API appears to be created. I did not checked them myself. If an issue is spotted on any implementation, please create a specific issue for it.)
As a plugin, it the following function feels like they miss a parameter to say "execute the function on that pane". They have little to no meaning on the plugin’s pane or would just benefit of a
Option<pane_id>
or whatever as argument.Just 👀 the function list I think the following would have a similar issue:
Maybe everything that change something in a pane/tab could have a
target_id
?(I’m making a checklist because I think there can be more I did not discovered yet. So I will add them as long as the issue is open, or re-open the issue if you want that flow.)
The text was updated successfully, but these errors were encountered: