/// Emulates terminal. It holds input/output data in buffer
/// transferred to/from `Emulator`.
pubtraitTerminal{/// Puts an output ascii byte data to output buffer.
/// The data is expected to be read by user program via `get_output()`
/// and be displayed to user.
fnput_byte(&mutself, value:u8);/// Gets an output ascii byte data from output buffer.
/// This method returns zero if the buffer is empty.
fnget_output(&mutself)->u8;/// Puts an input ascii byte data to input buffer.
/// The data is expected to be read by `Emulator` via `get_input()`
/// and be handled.
fnput_input(&mutself, data:u8);/// Gets an input ascii byte data from input buffer.
/// Used by `Emulator`.
fnget_input(&mutself)->u8;}