treat Shift+Enter the same as Enter

This commit is contained in:
Alexander Bocken 2021-05-10 15:12:27 +02:00
parent 454604e03c
commit 2a805606fd
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -503,7 +503,7 @@ insert:
for (int i = 0;i < selidsize;i++)
if (selid[i] != -1 && (!sel || sel->id != selid[i]))
puts(items[selid[i]].text);
if (sel && !(ev->state & ShiftMask))
if (sel)
puts(sel->text);
else
puts(text);