glitzer/codes

Constants

pub const clear_line_code: String

Print this code to clear the current line.

pub const clear_screen_code: String

Print this code to clear the whole screen.

pub const hide_cursor_code: String

Print this code to hide the cursor

pub const return_home_code: String

Print this code to return the cursor to the “home” position.

pub const return_line_start_code: String

Print this code to return to the start of the line

pub const show_cursor_code: String

Print this code to show the cursor if it has been hidden

Search Document