mirror of
https://github.com/rm-dr/daisy
synced 2025-07-05 01:59:30 -07:00
Cleaned up context argument
This commit is contained in:
@ -31,7 +31,7 @@ impl FormattedText {
|
||||
}
|
||||
|
||||
|
||||
pub fn write(&self, stdout: &mut RawTerminal<std::io::Stdout>) -> Result<(), std::io::Error> {
|
||||
pub fn write(&self, context: &Context, stdout: &mut RawTerminal<std::io::Stdout>) -> Result<(), std::io::Error> {
|
||||
|
||||
if self.text == "[clear]" {
|
||||
write!(
|
||||
|
Reference in New Issue
Block a user