diff options
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/ui/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 227ccdaa..13ac88fd 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -440,7 +440,7 @@ impl EditorView { if let Some(path) = doc.relative_path() { let path = path.to_string_lossy(); - let title = format!("{}{}", path, if doc.modified() { "[+]" } else { "" }); + let title = format!("{}{}", path, if doc.is_modified() { "[+]" } else { "" }); surface.set_stringn( viewport.x + 6, viewport.y, |