Refactor sliding window selector. (fixes #170)

Refactor list filtering.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-10 15:56:08 +00:00
1 parent ab8536d5c3
commit 46c940b863
16 files changed
+818 -684

No files matched your search

+2 -2
View File
@@ -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:#?}");
};