From 50b48b744fbe51accf19526a23b071ff43c9a24b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 7 Mar 2021 18:07:13 -0500 Subject: a few renames --- src/async.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/async.rs') diff --git a/src/async.rs b/src/async.rs index 92a4f30..0a858c8 100644 --- a/src/async.rs +++ b/src/async.rs @@ -2,12 +2,12 @@ use futures_lite::io::AsyncWriteExt as _; use super::private::TextmodeImpl as _; -pub struct Textmode { +pub struct Output { cur: vt100::Parser, next: vt100::Parser, } -impl super::private::TextmodeImpl for Textmode { +impl super::private::TextmodeImpl for Output { fn cur(&self) -> &vt100::Parser { &self.cur } @@ -25,9 +25,9 @@ impl super::private::TextmodeImpl for Textmode { } } -impl super::TextmodeExt for Textmode {} +impl super::Textmode for Output {} -impl Textmode { +impl Output { pub async fn new() -> std::io::Result { let (rows, cols) = match terminal_size::terminal_size() { Some((terminal_size::Width(w), terminal_size::Height(h))) => { -- cgit v1.2.3-54-g00ecf