@@ -98,7 +98,7 @@ pub fn create_window(pty_system: &dyn portable_pty::PtySystem, app: &mut AppStat
9898 }
9999 let epoch = std:: time:: Instant :: now ( ) - Duration :: from_secs ( 2 ) ;
100100 let configured_shell = if app. default_shell . is_empty ( ) { None } else { Some ( app. default_shell . as_str ( ) ) } ;
101- let pane = Pane { master : wp. master , writer : wp. writer , child : wp. child , term : wp. term , last_rows : rows, last_cols : cols, id : wp. pane_id , title : hostname_cached ( ) , title_locked : false , child_pid : wp. child_pid , data_version : wp. data_version , last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape : wp. cursor_shape , bell_pending : wp. bell_pending , cpr_pending : wp. cpr_pending , copy_state : None , pane_style : None , squelch_until : None , output_ring : wp. output_ring } ;
101+ let pane = Pane { master : wp. master , writer : wp. writer , child : wp. child , term : wp. term , last_rows : rows, last_cols : cols, id : wp. pane_id , title : hostname_cached ( ) , title_locked : false , child_pid : wp. child_pid , data_version : wp. data_version , last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , last_special_key : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape : wp. cursor_shape , bell_pending : wp. bell_pending , cpr_pending : wp. cpr_pending , copy_state : None , pane_style : None , squelch_until : None , output_ring : wp. output_ring } ;
102102 let win_name = default_shell_name ( None , configured_shell) ;
103103 let initial_pane_id = wp. pane_id ;
104104 app. windows . push ( Window { root : Node :: Leaf ( pane) , active_path : vec ! [ ] , name : win_name, id : app. next_win_id , activity_flag : false , bell_flag : false , silence_flag : false , last_output_time : std:: time:: Instant :: now ( ) , last_seen_version : 0 , manual_rename : false , layout_index : 0 , pane_mru : vec ! [ initial_pane_id] , zoom_saved : None , linked_from : None } ) ;
@@ -170,7 +170,7 @@ pub fn create_window(pty_system: &dyn portable_pty::PtySystem, app: &mut AppStat
170170 conpty_preemptive_dsr_response ( & mut * pty_writer) ;
171171 let epoch = std:: time:: Instant :: now ( ) - Duration :: from_secs ( 2 ) ;
172172 let pane_id = app. next_pane_id ;
173- let pane = Pane { master : pair. master , writer : pty_writer, child, term, last_rows : size. rows , last_cols : size. cols , id : pane_id, title : hostname_cached ( ) , title_locked : false , child_pid, data_version, last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape, bell_pending, cpr_pending, copy_state : None , pane_style : None , squelch_until : None , output_ring } ;
173+ let pane = Pane { master : pair. master , writer : pty_writer, child, term, last_rows : size. rows , last_cols : size. cols , id : pane_id, title : hostname_cached ( ) , title_locked : false , child_pid, data_version, last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , last_special_key : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape, bell_pending, cpr_pending, copy_state : None , pane_style : None , squelch_until : None , output_ring } ;
174174 app. next_pane_id += 1 ;
175175 let win_name = command. map ( |c| default_shell_name ( Some ( c) , None ) ) . unwrap_or_else ( || default_shell_name ( None , configured_shell) ) ;
176176 app. windows . push ( Window { root : Node :: Leaf ( pane) , active_path : vec ! [ ] , name : win_name, id : app. next_win_id , activity_flag : false , bell_flag : false , silence_flag : false , last_output_time : std:: time:: Instant :: now ( ) , last_seen_version : 0 , manual_rename : false , layout_index : 0 , pane_mru : vec ! [ pane_id] , zoom_saved : None , linked_from : None } ) ;
@@ -286,7 +286,7 @@ pub fn create_window_raw(pty_system: &dyn portable_pty::PtySystem, app: &mut App
286286 conpty_preemptive_dsr_response ( & mut * pty_writer) ;
287287 let epoch = std:: time:: Instant :: now ( ) - Duration :: from_secs ( 2 ) ;
288288 let raw_pane_id = app. next_pane_id ;
289- let pane = Pane { master : pair. master , writer : pty_writer, child, term, last_rows : size. rows , last_cols : size. cols , id : raw_pane_id, title : hostname_cached ( ) , title_locked : false , child_pid, data_version, last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape, bell_pending, cpr_pending, copy_state : None , pane_style : None , squelch_until : None , output_ring } ;
289+ let pane = Pane { master : pair. master , writer : pty_writer, child, term, last_rows : size. rows , last_cols : size. cols , id : raw_pane_id, title : hostname_cached ( ) , title_locked : false , child_pid, data_version, last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , last_special_key : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape, bell_pending, cpr_pending, copy_state : None , pane_style : None , squelch_until : None , output_ring } ;
290290 app. next_pane_id += 1 ;
291291 let win_name = std:: path:: Path :: new ( & raw_args[ 0 ] ) . file_stem ( ) . and_then ( |s| s. to_str ( ) ) . unwrap_or ( & raw_args[ 0 ] ) . to_string ( ) ;
292292 app. windows . push ( Window { root : Node :: Leaf ( pane) , active_path : vec ! [ ] , name : win_name, id : app. next_win_id , activity_flag : false , bell_flag : false , silence_flag : false , last_output_time : std:: time:: Instant :: now ( ) , last_seen_version : 0 , manual_rename : false , layout_index : 0 , pane_mru : vec ! [ raw_pane_id] , zoom_saved : None , linked_from : None } ) ;
@@ -389,7 +389,7 @@ pub fn split_active_with_command(app: &mut AppState, kind: LayoutKind, command:
389389 }
390390 let epoch = std:: time:: Instant :: now ( ) - Duration :: from_secs ( 2 ) ;
391391 let new_pane_id = wp. pane_id ;
392- let new_leaf = Node :: Leaf ( Pane { master : wp. master , writer : wp. writer , child : wp. child , term : wp. term , last_rows : rows, last_cols : cols, id : new_pane_id, title : hostname_cached ( ) , title_locked : false , child_pid : wp. child_pid , data_version : wp. data_version , last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape : wp. cursor_shape , bell_pending : wp. bell_pending , cpr_pending : wp. cpr_pending , copy_state : None , pane_style : None , squelch_until : None , output_ring : wp. output_ring } ) ;
392+ let new_leaf = Node :: Leaf ( Pane { master : wp. master , writer : wp. writer , child : wp. child , term : wp. term , last_rows : rows, last_cols : cols, id : new_pane_id, title : hostname_cached ( ) , title_locked : false , child_pid : wp. child_pid , data_version : wp. data_version , last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , last_special_key : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape : wp. cursor_shape , bell_pending : wp. bell_pending , cpr_pending : wp. cpr_pending , copy_state : None , pane_style : None , squelch_until : None , output_ring : wp. output_ring } ) ;
393393 let win = & mut app. windows [ app. active_idx ] ;
394394 replace_leaf_with_split ( & mut win. root , & win. active_path , kind, new_leaf) ;
395395 let mut new_path = win. active_path . clone ( ) ;
@@ -442,7 +442,7 @@ pub fn split_active_with_command(app: &mut AppState, kind: LayoutKind, command:
442442 conpty_preemptive_dsr_response ( & mut * pty_writer) ;
443443 let epoch = std:: time:: Instant :: now ( ) - Duration :: from_secs ( 2 ) ;
444444 let split_pane_id = app. next_pane_id ;
445- let new_leaf = Node :: Leaf ( Pane { master : pair. master , writer : pty_writer, child, term, last_rows : size. rows , last_cols : size. cols , id : split_pane_id, title : hostname_cached ( ) , title_locked : false , child_pid, data_version, last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape, bell_pending, cpr_pending, copy_state : None , pane_style : None , squelch_until : None , output_ring } ) ;
445+ let new_leaf = Node :: Leaf ( Pane { master : pair. master , writer : pty_writer, child, term, last_rows : size. rows , last_cols : size. cols , id : split_pane_id, title : hostname_cached ( ) , title_locked : false , child_pid, data_version, last_title_check : epoch, last_infer_title : epoch, dead : false , last_text_input : None , last_special_key : None , vt_bridge_cache : None , vti_mode_cache : None , mouse_input_cache : None , cursor_shape, bell_pending, cpr_pending, copy_state : None , pane_style : None , squelch_until : None , output_ring } ) ;
446446 app. next_pane_id += 1 ;
447447 let win = & mut app. windows [ app. active_idx ] ;
448448 replace_leaf_with_split ( & mut win. root , & win. active_path , kind, new_leaf) ;
0 commit comments