Fix TODOs

Fixes non UTF8 filenames by not converting to `String` for no reason.

Also removes TODO for the fill-page feature, which already exists.
This commit is contained in:
Max Dexheimer
2026-01-22 15:32:59 +01:00
parent 828db8aed3
commit 577141e201
4 changed files with 4 additions and 9 deletions
+1 -2
View File
@@ -65,7 +65,6 @@ pub fn start_rendering_loop(
Sender<RenderNotif>
) {
let pathbuf = path.as_ref().canonicalize().unwrap();
let str_path = pathbuf.into_os_string().to_string_lossy().to_string();
let (to_render_tx, from_main_rx) = unbounded();
let (to_main_tx, from_render_rx) = unbounded();
@@ -91,7 +90,7 @@ pub fn start_rendering_loop(
let cell_width_px = size.width / size.columns;
std::thread::spawn(move || {
start_rendering(
&str_path,
&pathbuf,
to_main_tx,
from_main_rx,
cell_height_px,