mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-07-17 15:56:57 +02:00
restruct: 9e
This commit is contained in:
parent
19ab138320
commit
a8febbe96f
4 changed files with 20 additions and 23 deletions
|
|
@ -61,7 +61,7 @@ impl Bind<TuiEvent, Arc<str>> {
|
|||
// TODO
|
||||
Ok(())
|
||||
} else if let Ok(Some(_word)) = item.expr().head().word() {
|
||||
if let Some(key) = TuiEvent::named(item.expr()?.head()?)? {
|
||||
if let Some(key) = TuiKey::from_dsl(item.expr()?.head()?)? {
|
||||
map.add(key, Binding {
|
||||
commands: [item.expr()?.tail()?.unwrap_or_default().into()].into(),
|
||||
condition: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue