aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/root.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index fd82ea6..eeeb1b9 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -151,8 +151,10 @@ void ui__root_draw_menu(struct ui_window_root *root)
text = ui__root_get_menu_text(item);
size_t tlen = strlen(text);
- if (item == root->menu_selected)
+ if (item == root->menu_selected) {
wattroff(root->menu_cwindow, A_REVERSE);
+ /* the coordinates of the selected menu item are here, place the window :) */
+ }
ui__root_scroll_text(root, cursor, text, tlen);