Refactor sliding window selector. (fixes #170)

Refactor list filtering.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-07 21:35:42 +00:00
parent ab8536d5c3
commit 46c940b863
16 changed files with 818 additions and 684 deletions

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:#?}");
};