Update to modalkit{,-ratatui}@0.0.23 (#473)

This commit is contained in:
Ulyssa 2025-07-04 17:12:50 -07:00 committed by GitHub
parent 0ef5c39f7f
commit 52010d44d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 81 additions and 50 deletions

View file

@ -89,6 +89,7 @@ use crate::{
ChatStore,
HomeserverAction,
IambAction,
IambCompleter,
IambError,
IambId,
IambInfo,
@ -529,7 +530,7 @@ impl Application {
},
// Unimplemented.
Action::KeywordLookup => {
Action::KeywordLookup(_) => {
// XXX: implement
None
},
@ -1011,7 +1012,9 @@ async fn run(settings: ApplicationSettings) -> IambResult<()> {
// Set up the async worker thread and global store.
let worker = ClientWorker::spawn(client.clone(), settings.clone()).await;
let store = ChatStore::new(worker.clone(), settings.clone());
let store = Store::new(store);
let mut store = Store::new(store);
store.completer = Box::new(IambCompleter);
let store = Arc::new(AsyncMutex::new(store));
worker.init(store.clone());