Skip to content

Commit

Permalink
docs about saveCursor
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanStarup committed Oct 30, 2022
1 parent 4274721 commit e40c6bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Terminal.flix
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ namespace Terminal {

///
/// Saves the current cursor position for later restoration.
/// OBS: Note that this position does not account for terminal scrolling
/// when printing newlines at the bottom of the terminal.
///
pub def saveCursor(): Unit \ IO =
output(Terminal/String.saveCursor())
Expand Down

0 comments on commit e40c6bf

Please sign in to comment.