Line editors need to commit on return

This commit is contained in:
Lirusaito
2019-02-07 01:34:09 -05:00
parent aa0fea6931
commit 90285944d9

View File

@@ -1497,8 +1497,9 @@ BOOL LLLineEditor::handleSpecialKey(KEY key, MASK mask)
break;
case KEY_RETURN:
if (getCommitOnReturn()) onCommit();
// store sent line in history
updateHistory();
else updateHistory();
break;
case KEY_ESCAPE: