mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 21:47:07 +04:00
.
This commit is contained in:
parent
47e282804d
commit
4749b39b88
@ -227,7 +227,9 @@ pub fn render_statusline(
|
|||||||
surface.set_string(1, viewport.y, mode, text_color);
|
surface.set_string(1, viewport.y, mode, text_color);
|
||||||
|
|
||||||
if let Some(path) = view.doc.relative_path() {
|
if let Some(path) = view.doc.relative_path() {
|
||||||
surface.set_string(6, viewport.y, path.to_string_lossy(), text_color);
|
let path = path.to_string_lossy();
|
||||||
|
surface.set_string(6, viewport.y, path, text_color);
|
||||||
|
// TODO: append [+] if modified
|
||||||
}
|
}
|
||||||
|
|
||||||
surface.set_string(
|
surface.set_string(
|
||||||
|
Loading…
Reference in New Issue
Block a user