fix(tui): add feature guard

This commit is contained in:
🪞👃🪞 2025-04-30 23:48:33 +03:00
parent 44ebe17c66
commit 9fb5d2d9f7

View file

@ -49,6 +49,7 @@ impl TuiIn {
} }
} }
#[cfg(feature = "dsl")]
impl DslInput for TuiIn { impl DslInput for TuiIn {
fn matches_dsl (&self, token: &str) -> bool { fn matches_dsl (&self, token: &str) -> bool {
if let Some(event) = KeyMatcher::new(token).build() { if let Some(event) = KeyMatcher::new(token).build() {