Prevent splits in the terminal panel
This commit is contained in:
parent
e6be35c9a5
commit
26fe7a81f3
2 changed files with 10 additions and 2 deletions
|
@ -28,6 +28,7 @@ impl TerminalPanel {
|
|||
workspace.app_state().background_actions,
|
||||
cx,
|
||||
);
|
||||
pane.set_can_split(false, cx);
|
||||
pane.on_can_drop(move |drag_and_drop, cx| {
|
||||
drag_and_drop
|
||||
.currently_dragged::<DraggedItem>(window_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue