This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! A [Screen] to display content. Integral to Terminal Arcade's workings. | |
use {...}; | |
/// The trait for handling drawing on the terminal and receiving events from the | |
/// user. | |
/// One should always start here when making a game/screen. | |
#[must_use] | |
pub trait Screen { | |
fn event(&mut self, _event: &Event) -> anyhow::Result<()> { |