mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-07-17 07:56:56 +02:00
term: collect keys
This commit is contained in:
parent
80b086603e
commit
f7b05e95fa
3 changed files with 4 additions and 2 deletions
|
|
@ -49,8 +49,6 @@ pub use ::dizzle::{Usually, Perhaps, impl_default};
|
|||
#[cfg(feature = "text")] pub mod text;
|
||||
/// Terminal output.
|
||||
#[cfg(feature = "term")] pub mod term;
|
||||
/// Terminal keyboard input.
|
||||
#[cfg(feature = "term")] pub mod keys;
|
||||
|
||||
/// Define a trait an implement it for various mutation-enabled wrapper types. */
|
||||
#[macro_export] macro_rules! flex_trait_mut (
|
||||
|
|
|
|||
|
|
@ -543,3 +543,7 @@ use self::colors::*; mod colors {
|
|||
pub const fn tui_title_fg (f: bool) -> Color { if f { tui_ti1() } else { tui_ti2() } }
|
||||
pub const fn tui_yellow () -> Color { Color::Rgb(255,255,0) }
|
||||
}
|
||||
|
||||
/// Terminal keyboard input.
|
||||
#[cfg(feature = "term")] pub mod keys;
|
||||
#[cfg(feature = "term")] pub use self::keys::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue