From 7e075c5b3dd8580fa1f5ff7180316dee20928d84 Mon Sep 17 00:00:00 2001 From: veeso Date: Sun, 14 Mar 2021 15:25:20 +0100 Subject: [PATCH] Fixed cursor --- src/ui/layout/components/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/layout/components/input.rs b/src/ui/layout/components/input.rs index 4befebb..d20c3b4 100644 --- a/src/ui/layout/components/input.rs +++ b/src/ui/layout/components/input.rs @@ -209,7 +209,7 @@ impl Component for Input { if self.states.focus { let x: u16 = area.x + (self.states.render_value(self.props.input_type).width() as u16) + 1; - render.set_cursor(x, area.y); + render.set_cursor(x, area.y + 1); } } }