refactor: create a split when moving a tab past the last right split
This commit is contained in:
parent
7e8f06396e
commit
4f68898f96
2 changed files with 17 additions and 2 deletions
|
|
@ -1833,7 +1833,7 @@ fn create_home(self: *Self) !void {
|
|||
tui.resize();
|
||||
}
|
||||
|
||||
fn create_home_split(self: *Self) !void {
|
||||
pub fn create_home_split(self: *Self) !void {
|
||||
tui.reset_drag_context();
|
||||
try self.add_and_activate_view(try home.create(self.allocator, Widget.to(self)));
|
||||
_ = try self.widgets_widget.msg(.{"splits_updated"});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue