From 61a5d8e777da6bf5abbb90748b3ea0cf53174d9b Mon Sep 17 00:00:00 2001 From: Ticki Date: Tue, 8 Mar 2016 18:57:31 +0100 Subject: [PATCH] Rename append 'cursor' to show and hide methods To avoid ambiguity. --- src/control.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control.rs b/src/control.rs index 0087180..e427af3 100644 --- a/src/control.rs +++ b/src/control.rs @@ -21,11 +21,11 @@ pub trait TermControl { self.csi(b"2K") } /// Show the cursor. - fn show(&mut self) -> IoResult { + fn show_cursor(&mut self) -> IoResult { self.csi(b"?25h") } /// Hide the cursor. - fn hide(&mut self) -> IoResult { + fn hide_cursor(&mut self) -> IoResult { self.csi(b"?25l") } /// Reset the rendition mode.