and 227e again...
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
okay stopped screaming 2026-03-28 23:59:17 +02:00
parent c72fe8ab23
commit dcca74a649
3 changed files with 11 additions and 8 deletions

View file

@ -75,7 +75,8 @@ pub extern crate tengri;
pub(crate) use tengri::{
*,
lang::*,
play::*,
exit::*,
eval::*,
keys::*,
sing::*,
time::*,
@ -722,8 +723,7 @@ impl Understand<Tui, ()> for App {
}
}
fn app_understand_expr (state: &App, to: &mut Tui, lang: &impl Expression) -> Usually<()> {
if evaluate_output_expression(state, to, lang)?
|| evaluate_output_expression_tui(state, to, lang)? {
if eval_view(state, to, lang)? || eval_view_tui(state, to, lang)? {
Ok(())
} else {
Err(format!("App::understand_expr: unexpected: {lang:?}").into())