Color
- The default colors available on a terminal emulator.of ::core::cmp::Eq for Color
carriage_return
clear_screen
cursor_address
cursor_home
cursor_invisible
cursor_normal
enter_blink_mode
enter_bold_mode
enter_ca_mode
enter_reverse_mode
enter_standout_mode
enter_underline_mode
escape
- The terminal escape corresponding to the name
terminfo capability.escape1
- The terminal escape corresponding to the name
terminfo capability.escape2
- The terminal escape corresponding to the name
terminfo capability.exit_attribute_mode
exit_ca_mode
exit_standout_mode
exit_underline_mode
init
- Initialize the terminfo database.key_backspace
key_dc
key_down
key_end
key_f
- The terminal escape generated by the F<n
> key.key_f1
key_f10
key_f11
key_f12
key_f2
key_f3
key_f4
key_f5
key_f6
key_f7
key_f8
key_f9
key_home
key_ic
key_left
key_right
key_up
keypad_local
keypad_xmit
orig_pair
set_a_background
set_a_foreground
tab
Color
The default colors available on a terminal emulator.
ColorBlack = 0
ColorRed
ColorGreen
ColorYellow
ColorBlue
ColorMagenta
ColorCyan
ColorWhite
::core::cmp::Eq
for Color
eq
fn eq(&self, __other: &Color) -> bool
ne
fn ne(&self, __other: &Color) -> bool
carriage_return
fn carriage_return() -> ~str
clear_screen
fn clear_screen() -> ~str
cursor_address
fn cursor_address(p1: uint, p2: uint) -> ~str
cursor_home
fn cursor_home() -> ~str
cursor_invisible
fn cursor_invisible() -> ~str
cursor_normal
fn cursor_normal() -> ~str
enter_blink_mode
fn enter_blink_mode() -> ~str
enter_bold_mode
fn enter_bold_mode() -> ~str
enter_ca_mode
fn enter_ca_mode() -> ~str
enter_reverse_mode
fn enter_reverse_mode() -> ~str
enter_standout_mode
fn enter_standout_mode() -> ~str
enter_underline_mode
fn enter_underline_mode() -> ~str
escape
fn escape(name: &str) -> Option<~str>
The terminal escape corresponding to the name
terminfo capability.
escape1
fn escape1(name: &str, p1: int) -> Option<~str>
The terminal escape corresponding to the name
terminfo capability.
This capability must take one parameter, which should be passed as p1
.
escape2
fn escape2(name: &str, p1: int, p2: int) -> Option<~str>
The terminal escape corresponding to the name
terminfo capability.
This capability must take two parameters, which should be passed as p1
and p2
.
exit_attribute_mode
fn exit_attribute_mode() -> ~str
exit_ca_mode
fn exit_ca_mode() -> ~str
exit_standout_mode
fn exit_standout_mode() -> ~str
exit_underline_mode
fn exit_underline_mode() -> ~str
init
fn init()
Initialize the terminfo database.
This must be called before any functions from this module are used. The current terminal is determined by looking at the TERM
environment variable.
key_backspace
fn key_backspace() -> ~str
key_dc
fn key_dc() -> ~str
key_down
fn key_down() -> ~str
key_end
fn key_end() -> ~str
key_f
fn key_f(n: uint) -> ~str
The terminal escape generated by the F<n
> key.
key_f1
fn key_f1() -> ~str
key_f10
fn key_f10() -> ~str
key_f11
fn key_f11() -> ~str
key_f12
fn key_f12() -> ~str
key_f2
fn key_f2() -> ~str
key_f3
fn key_f3() -> ~str
key_f4
fn key_f4() -> ~str
key_f5
fn key_f5() -> ~str
key_f6
fn key_f6() -> ~str
key_f7
fn key_f7() -> ~str
key_f8
fn key_f8() -> ~str
key_f9
fn key_f9() -> ~str
key_home
fn key_home() -> ~str
key_ic
fn key_ic() -> ~str
key_left
fn key_left() -> ~str
key_right
fn key_right() -> ~str
key_up
fn key_up() -> ~str
keypad_local
fn keypad_local() -> ~str
keypad_xmit
fn keypad_xmit() -> ~str
orig_pair
fn orig_pair() -> ~str
set_a_background
fn set_a_background(p1: Color) -> ~str
set_a_foreground
fn set_a_foreground(p1: Color) -> ~str
tab
fn tab() -> ~str