Recognize newline characters in Linux/OS X console

develop
lethosor 2015-06-24 00:54:12 -04:00
parent 38d377f4c4
commit 0fa5570349
1 changed files with 1 additions and 0 deletions

@ -492,6 +492,7 @@ namespace DFHack
switch(c) switch(c)
{ {
case 13: // enter case 13: // enter
case 10:
history.remove(); history.remove();
return raw_buffer.size(); return raw_buffer.size();
case 3: // ctrl-c case 3: // ctrl-c