minor fix while opening new tab
This commit is contained in:
parent
bbcea31988
commit
af445394c0
2 changed files with 2 additions and 2 deletions
|
|
@ -402,7 +402,7 @@ pub fn start(
|
||||||
}
|
}
|
||||||
ScreenInstruction::ApplyLayout((layout, new_pane_pids)) => {
|
ScreenInstruction::ApplyLayout((layout, new_pane_pids)) => {
|
||||||
screen.apply_layout(Layout::new(layout), new_pane_pids);
|
screen.apply_layout(Layout::new(layout), new_pane_pids);
|
||||||
command_is_executing.done_opening_new_pane();
|
command_is_executing.done_updating_tabs();
|
||||||
}
|
}
|
||||||
ScreenInstruction::GoToTab(tab_index) => {
|
ScreenInstruction::GoToTab(tab_index) => {
|
||||||
screen.go_to_tab(tab_index as usize);
|
screen.go_to_tab(tab_index as usize);
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ use crate::tests::possible_tty_inputs::{get_possible_tty_inputs, Bytes};
|
||||||
use crate::utils::shared::default_palette;
|
use crate::utils::shared::default_palette;
|
||||||
use zellij_tile::data::Palette;
|
use zellij_tile::data::Palette;
|
||||||
|
|
||||||
const MIN_TIME_BETWEEN_SNAPSHOTS: Duration = Duration::from_millis(100);
|
const MIN_TIME_BETWEEN_SNAPSHOTS: Duration = Duration::from_millis(150);
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub enum IoEvent {
|
pub enum IoEvent {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue