MCPcopy Index your code
hub / github.com/algoscienceacademy/RustUI / show_platform_setup

Method show_platform_setup

src/dev_server.rs:182–195  ·  view source on GitHub ↗
(&mut self, platform: &str)

Source from the content-addressed store, hash-verified

180 }
181
182 fn show_platform_setup(&mut self, platform: &str) -> Result<(), Box<dyn std::error::Error>> {
183 execute!(
184 stdout(),
185 Clear(ClearType::All),
186 cursor::MoveTo(0, 0),
187 SetForegroundColor(Color::Cyan),
188 Print(format!("🔧 Setting up {} Platform\n\n", platform)),
189 )?;
190
191 self.update_progress(0, 1, &format!("Preparing {} environment...", platform));
192 thread::sleep(Duration::from_millis(500));
193
194 Ok(())
195 }
196
197 fn render_welcome_screen(&self) -> Result<(), Box<dyn std::error::Error>> {
198 execute!(

Callers 1

runMethod · 0.80

Calls 1

update_progressMethod · 0.80

Tested by

no test coverage detected