[−][src]Module bear_lib_terminal::terminal::config
Module containing BLT configuration options.
Examples
The following from the official documentation:
window: title='foobar', size=80x25; input.filter='keyboard'
Is equivalent to
use bear_lib_terminal::terminal::{self, config}; use bear_lib_terminal::geometry::Size; terminal::set(config::Window::empty().title("foobar".to_string()).size(Size::new(80, 25))); terminal::set(vec![config::InputFilter::Group{group: config::InputFilterGroup::Keyboard, both: false}]);
Modules
font | Module containing font changing tools. |
Structs
Input | The |
Log | The |
Output | The |
Terminal | The |
Window | The |
Enums
Cellsize | Possible cell size, |
InputFilter | One input filter element. |
InputFilterEvent | As enumerated here |
InputFilterGroup | Filter event group, from here. |
LogLevel | Logging levels, as specified here. |
LogMode | Log writing mode. |
Traits
ConfigPart | Trait for generating BLT configuration strings. |
Functions
escape_config_string | Escapes |