mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-26 14:07:05 +03:00
Support front ends that pass CR for [return], as well as those that pass NL.
This commit is contained in:
parent
eb1113e4c3
commit
b4609f41bc
@ -1718,6 +1718,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
|
||||
redraw = true;
|
||||
}
|
||||
break;
|
||||
case KEY_CR:
|
||||
case KEY_NL:
|
||||
if (readonly)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user