first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+16 -8
View File
@@ -32,16 +32,23 @@ impl TerminalView {
restored_blocks: Option<&[SerializedBlockListItem]>,
ctx: &mut ViewContext<Self>,
) -> Self {
use galaxyui::units::{IntoPixels as _, Pixels};
Self::new_for_test_with_cloud_mode(tips_model, restored_blocks, false, ctx)
}
#[cfg(test)]
pub fn new_for_test_with_cloud_mode(
tips_model: ModelHandle<TipsCompleted>,
restored_blocks: Option<&[SerializedBlockListItem]>,
is_cloud_mode: bool,
ctx: &mut ViewContext<Self>,
) -> Self {
use pathfinder_geometry::vector::vec2f;
use crate::{
server::server_api::ServerApiProvider,
terminal::{
event_listener::ChannelEventListener, model::block::BlockSize, BlockPadding,
},
themes::default_themes::dark_theme,
};
use crate::server::server_api::ServerApiProvider;
use crate::terminal::event_listener::ChannelEventListener;
use crate::terminal::model::block::BlockSize;
use crate::terminal::BlockPadding;
use crate::themes::default_themes::dark_theme;
let size_info = SizeInfo::new(
vec2f(7., 10.5),
1.0.into_pixels(),
@@ -110,6 +117,7 @@ impl TerminalView {
None,
None, // conversation_restoration - not used for test
None, // inactive_pty_reads_rx - not used for test
is_cloud_mode,
ctx,
)
}