forked from enlightenment/terminology
correctly handle Alt-Enter
This commit is contained in:
parent
cc6b11a6f5
commit
9814b10ad2
|
@ -131,6 +131,8 @@ _handle_key_to_pty(Termpty *ty, const Evas_Event_Key_Down *ev,
|
|||
}
|
||||
if (!strcmp(ev->key, "Return"))
|
||||
{
|
||||
if (alt)
|
||||
termpty_write(ty, "\033", 1);
|
||||
if (ty->state.crlf)
|
||||
{
|
||||
termpty_write(ty, "\r\n", sizeof("\r\n") - 1);
|
||||
|
|
Loading…
Reference in New Issue