mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-07-17 15:56:57 +02:00
parent
c72fe8ab23
commit
dcca74a649
3 changed files with 11 additions and 8 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue