fix(input): block input thread for newtiledpane and newfloatingpane as well (#2757)

This commit is contained in:
Aram Drevekenin 2023-08-31 10:30:47 +02:00 committed by GitHub
parent 6116195a29
commit ad3594a582
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -304,6 +304,8 @@ impl InputHandler {
| Action::ClearScreen | Action::ClearScreen
| Action::NewPane(..) | Action::NewPane(..)
| Action::Run(_) | Action::Run(_)
| Action::NewTiledPane(..)
| Action::NewFloatingPane(..)
| Action::ToggleFloatingPanes | Action::ToggleFloatingPanes
| Action::TogglePaneEmbedOrFloating | Action::TogglePaneEmbedOrFloating
| Action::NewTab(..) | Action::NewTab(..)

View file

@ -178,7 +178,6 @@ pub fn start_client(
.unwrap_or_else(|| os_input.load_palette()); .unwrap_or_else(|| os_input.load_palette());
let full_screen_ws = os_input.get_terminal_size_using_fd(0); let full_screen_ws = os_input.get_terminal_size_using_fd(0);
log::info!("full_screen_ws: {:?}", full_screen_ws);
let client_attributes = ClientAttributes { let client_attributes = ClientAttributes {
size: full_screen_ws, size: full_screen_ws,
style: Style { style: Style {