From 009171812efa815ae6e445178689a08400905c04 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 12 Dec 2021 23:53:01 -0500 Subject: more event loop refactoring --- src/readline.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/readline.rs') diff --git a/src/readline.rs b/src/readline.rs index e13c00f..585d6b6 100644 --- a/src/readline.rs +++ b/src/readline.rs @@ -1,4 +1,3 @@ -use textmode::Textmode as _; use unicode_width::{UnicodeWidthChar as _, UnicodeWidthStr as _}; pub struct Readline { @@ -18,7 +17,7 @@ impl Readline { pub async fn render( &self, - out: &mut textmode::Output, + out: &mut impl textmode::Textmode, entry_count: usize, focus: bool, offset: time::UtcOffset, -- cgit v1.2.3-54-g00ecf