Struct pty_proc::shell::display::Display [] [src]

pub struct Display { /* fields omitted */ }

Methods

impl Display
[src]

[src]

The constructor method default returns the Display's interface from shell.

Important traits for Display
[src]

The constructor method default returns the Display's interface from shell.

[src]

The accessor ss returns the value of 'ss_mod'.

[src]

The accessor method get_mouse returns the value of mouse_handle'.

[src]

The accessor get_window_size returns the window size interface.

[src]

The mutator set_window_size replaces the window size.

[src]

The accessor get_cursor_coords returns the value of 'oob', that is the coordinates of the cursor.

[src]

The accessor newlines returns the value of 'newline', that contains all newlines that are now displayed on the screen.

Important traits for Vec<u8>
[src]

Converts a Vector of Character into a byte vector.

[src]

The method clear purges the screen vector.

[src]

The method resize updates the size of the output screen.

[src]

[src]

The method tricky_resize updates the size of the output screen.

[src]

The method goto moves the cursor position

[src]

The method goto_home moves the cursor to the top left of the output screen.

[src]

The method goto_up moves the cursor up.

[src]

The method goto_down moves the cursor down.

[src]

The method goto_right moves the cursor to its right.

[src]

[src]

The method goto_begin_row moves the cursor to the beginning of the row

[src]

The method goto_end_row moves the cursor to the end of the row

[src]

The method goto_coord moves the cursor to the given coordinates

[src]

The method scroll_down append an empty line on bottom of the screen (the cursor doesn't move)

[src]

The method scroll_up insert an empty line on top of the screen (the cursor doesn't move)

[src]

The method save_position save a position in the variable 'save_position' to get restored with self.table.restore_position() described right after. If save_position() is called many times, only the newest safe will be kept.

[src]

The method restore_position move the cursor to coordinates safe with self.table.save_position() described right before. If no coordinates were safe, cursor moves to the top left of the output screen

[src]

The method insert_empty_line insert an empty line on the right of the cursor (the cursor doesn't move)

[src]

The method erase_right_line erase the current line from the cursor to the next '\n' encountered (char under the cursor included)

[src]

The method erase_left_line erase the current line from the previous '\n' to the cursor (char under the cursor included)

[src]

The method erase_line erase the entire current line

[src]

The method erase_up erase all lines from the current line up to the top of the screen, and erase the current line from the left border column to the cursor. (char under the cursor included)

[src]

The method erase_down erase all lines from the current line down to the bottom of the screen and erase the current line from the cursor to the right border column (char under the cursor included)

[src]

The method print_enter reproduce the behavior of a '\n'

[src]

The method print_char print an unicode character (1 to 4 chars range)

[src]

[src]

The method next_tab return the size of the current printed tabulation

[src]

The method erase_chars erases couple of chars in the current line from the cursor.

[src]

The method erase_chars erases couple of chars in the current line from the cursor.

Trait Implementations

impl Debug for Display
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Display
[src]

Important traits for Display
[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> IntoIterator for &'a Display
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl Default for Display
[src]

Important traits for Display
[src]

Returns the "default value" for a type. Read more

impl Display for Display
[src]

[src]

Formats the value using the given formatter. Read more

impl Write for Display
[src]

[src]

The method write from trait io::Write inserts a new list of terms from output.

[src]

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

1.0.0
[src]

Attempts to write an entire buffer into this write. Read more

1.0.0
[src]

Writes a formatted string into this writer, returning any error encountered. Read more

Important traits for &'a mut R
1.0.0
[src]

Creates a "by reference" adaptor for this instance of Write. Read more