Rename append 'cursor' to show and hide methods
To avoid ambiguity.
This commit is contained in:
parent
45aa8912f9
commit
61a5d8e777
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue