mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Refactor sliding window selector. (fixes #170)
Refactor list filtering. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
ab8536d5c3
commit
46c940b863
16 files changed
+818
-684
No files matched your search
@@ -32,7 +32,7 @@ pub(super) async fn list_connections(&self) -> Result {
|
||||
let connections = self.services.sync.list_connections();
|
||||
|
||||
for connection_key in connections {
|
||||
self.write_str(&format!("{connection_key:?}"))
|
||||
self.write_str(&format!("{connection_key:?}\n"))
|
||||
.await?;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ pub(super) async fn show_connection(
|
||||
|
||||
let out;
|
||||
{
|
||||
let cached = cache.lock()?;
|
||||
let cached = cache.lock().await;
|
||||
out = format!("{cached:#?}");
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user