MCPcopy Index your code
hub / github.com/endbasic/endbasic / run

Method run

sdl/src/host.rs:896–910  ·  view source on GitHub ↗
(self: Box<Self>)

Source from the content-addressed store, hash-verified

894
895impl ConsoleHost for SdlConsoleHost {
896 fn run(self: Box<Self>) -> io::Result<()> {
897 // TODO(jmmv): The top-level run function should be inlined here but it was kept separate
898 // during the initial introduction of SdlConsoleHost to keep the diff clean.
899 run(
900 self.resolution,
901 self.default_fg_color,
902 self.default_bg_color,
903 self.font,
904 self.request_rx,
905 self.response_tx,
906 self.on_key_tx,
907 self.signals_tx,
908 );
909 Ok(())
910 }
911}
912
913#[cfg(test)]

Callers 1

newMethod · 0.45

Calls 1

runFunction · 0.70

Tested by

no test coverage detected