View Source Prompt.Position (prompt v0.10.1)

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

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.

Functions

clear_lines(number)

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

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

mask_line(relative_line)

@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.