on master help sign in
.
4749b39Blaž Hrastnik
helix-term/src/ui/editor.rs+3−1
@@ -227,7 +227,9 @@ impl EditorView {
227 surface.set_string(1, viewport.y, mode, text_color);
227 surface.set_string(1, viewport.y, mode, text_color);
228
228
229 if let Some(path) = view.doc.relative_path() {
229 if let Some(path) = view.doc.relative_path() {
230+ let path = path.to_string_lossy();
230− surface.set_string(6, viewport.y, path.to_string_lossy(), text_color);
231+ surface.set_string(6, viewport.y, path, text_color);
232+ // TODO: append [+] if modified
231 }
233 }
232
234
233 surface.set_string(
235 surface.set_string(