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

Method clear

sdl/src/console.rs:83–85  ·  view source on GitHub ↗
(&mut self, how: ClearType)

Source from the content-addressed store, hash-verified

81#[async_trait(?Send)]
82impl Console for SdlConsole {
83 fn clear(&mut self, how: ClearType) -> io::Result<()> {
84 self.call(Request::Clear(how))
85 }
86
87 fn color(&self) -> (Option<u8>, Option<u8>) {
88 (self.fg_color, self.bg_color)

Callers 1

test_sdl_console_clearFunction · 0.45

Calls 1

callMethod · 0.80

Tested by 1

test_sdl_console_clearFunction · 0.36