@hej / sigit / commits / 651b621

Remove extra blank lines and format code for readability

Seto Elkahfi committed Apr 24, 2026 at 01:13 UTC 651b62139793a03430e7f0b8041968d1ba1e792f
2 files changed +1 -5
src/chat.rs
-2
@@ -209,8 +209,6 @@ impl App {
209 }
210 }
211
212 -
213 -
212 /// How many terminal rows a message takes up after line-wrapping.
213 fn wrapped_line_count(text: &str, role: Role, width: usize) -> u16 {
214 let prefix_len = match role {
src/main.rs
+1 -3
@@ -276,9 +276,7 @@ async fn run_interactive(tty: std::fs::File, mut cleanup_tty: std::fs::File) ->
276 let system_prompt = SYSTEM_PROMPT.to_string();
277 std::thread::spawn(move || {
278 let rt = tokio::runtime::Runtime::new().expect("failed to create loader runtime");
279 - let result = rt.block_on(
280 - loader_engine.load_gguf_model(config, Some(system_prompt), None),
281 - );
279 + let result = rt.block_on(loader_engine.load_gguf_model(config, Some(system_prompt), None));
280 let _ = load_tx.send(result.map(|_| ()).map_err(|e| e.to_string()));
281 });
282