Rename append 'cursor' to show and hide methods

To avoid ambiguity.
This commit is contained in:
Ticki 2016-03-08 18:57:31 +01:00
parent 45aa8912f9
commit 61a5d8e777
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ pub trait TermControl {
self.csi(b"2K")
}
/// Show the cursor.
fn show(&mut self) -> IoResult<usize> {
fn show_cursor(&mut self) -> IoResult<usize> {
self.csi(b"?25h")
}
/// Hide the cursor.
fn hide(&mut self) -> IoResult<usize> {
fn hide_cursor(&mut self) -> IoResult<usize> {
self.csi(b"?25l")
}
/// Reset the rendition mode.