summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-03-24 01:28:19 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-04-14 01:41:32 +0530
commit23f1774a7585d18c718f309fb9e50b91e756d926 (patch)
tree28cf681bdd554bd8c5da50d78793a1dfb178a96a
parent722f79fe09649bca2046e430091c5d140ba8a4f7 (diff)
minor fix while opening new tab
-rw-r--r--src/common/mod.rs2
-rw-r--r--src/tests/fakes.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index 7d6fa08fb..72d0c97ca 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -384,7 +384,7 @@ pub fn start(
}
ScreenInstruction::ApplyLayout((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) => {
screen.go_to_tab(tab_index as usize);
diff --git a/src/tests/fakes.rs b/src/tests/fakes.rs
index 7516eafeb..0a6b8757f 100644
--- a/src/tests/fakes.rs
+++ b/src/tests/fakes.rs
@@ -14,7 +14,7 @@ use crate::errors::ErrorContext;
use crate::os_input_output::{ClientOsApi, ServerOsApi};
use crate::tests::possible_tty_inputs::{get_possible_tty_inputs, Bytes};
-const MIN_TIME_BETWEEN_SNAPSHOTS: Duration = Duration::from_millis(100);
+const MIN_TIME_BETWEEN_SNAPSHOTS: Duration = Duration::from_millis(150);
#[derive(Clone)]
pub enum IoEvent {