on master help sign in
.
commit4749b39b88b3bedfd09c63fd332ece2b35c1ad3e authorBlaž Hrastnik <blaz@mxxn.io> dateTue 22 Dec 2020, 16:32 (6 years ago) parent47e2828
1 file changed+3−1
helix-term/src/ui/editor.rs+3−1
helix-term/src/ui/editor.rs+3−1
@@ -227,7 +227,9 @@ impl EditorView {
227227 surface.set_string(1, viewport.y, mode, text_color);
228228
229229 if let Some(path) = view.doc.relative_path() {
230− surface.set_string(6, viewport.y, path.to_string_lossy(), text_color);
230+ let path = path.to_string_lossy();
231+ surface.set_string(6, viewport.y, path, text_color);
232+ // TODO: append [+] if modified
231233 }
232234
233235 surface.set_string(