View Source Prompt.Position (prompt v0.10.0)

Manipulate the position of the cursor and the display of previous text.

Link to this section Summary

Functions

Clears the content from the previous number of lines and resets the cursor.

Mask the content on the terminal relative_line above. By default will clear the line and put ####### in its place then move the cursor back to the current line.

Link to this section Functions

@spec clear_lines(pos_integer()) :: :ok

Clears the content from the previous number of lines and resets the cursor.

Link to this function

mask_line(relative_line)

View Source
@spec mask_line(pos_integer()) :: :ok

Mask the content on the terminal relative_line above. By default will clear the line and put ####### in its place then move the cursor back to the current line.