aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-21 11:58:05 +0000
committerDmitry Sharshakov2021-08-21 11:58:05 +0000
commit56bddb12f80a92cd267d1181b4de2933c2393935 (patch)
tree7cbfee030dca928cc7dc2b02a97a6f2c3215d0f2 /helix-term
parent5f5b383979b34817cbadbc7b686aec4e8e298e46 (diff)
Highlight line number of stack pointer
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/ui/editor.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 976323dd..75ad6a35 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -488,7 +488,11 @@ impl EditorView {
.unwrap_or(false)
&& sp.line == line
{
- surface.set_stringn(viewport.x, viewport.y + i as u16, "⇒", 1, warning);
+ surface.set_style(
+ Rect::new(viewport.x, viewport.y + i as u16, 6, 1),
+ helix_view::graphics::Style::default()
+ .bg(helix_view::graphics::Color::LightYellow),
+ );
}
}
}