Skip to content

Commit decab14

Browse files
committed
[textview] clicking in an overlay should focus on the message and the line in the overlay
1 parent 382b6b5 commit decab14

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/textview_curses.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ textview_curses::handle_mouse(mouse_event& me)
508508
[](const overlay_menu& om) {},
509509
[](const static_overlay_content& soc) {},
510510
[this](const overlay_content& oc) {
511+
this->set_selection(oc.oc_main_line);
511512
this->set_overlay_selection(oc.oc_line);
512513
},
513514
[](const empty_space& es) {});

0 commit comments

Comments
 (0)