diff --git a/repos/gems/src/app/text_area/dialog.cc b/repos/gems/src/app/text_area/dialog.cc index 610ebdb3e2..285b4a50a2 100644 --- a/repos/gems/src/app/text_area/dialog.cc +++ b/repos/gems/src/app/text_area/dialog.cc @@ -472,8 +472,10 @@ void Dialog::handle_input_event(Input::Event const &event) if (shift_key(key)) { _shift = true; - if (!_selection.defined()) + if (!_selection.defined()) { _selection.start.construct(_cursor); + _selection.end.destruct(); + } } if (control_key(key))