X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fconsole.cpp;h=51617d30452e54e80e4eb0154b64f264272c37b8;hp=eb7ac4b588bf4b6724ad8b28f02142ab010531ca;hb=8dbddc01acb154403c38348fd3fbea22ee0b33c4;hpb=33a5613489bbb9d4eab5c8761af88f4c1352aad4 diff --git a/source/console.cpp b/source/console.cpp index eb7ac4b..51617d3 100644 --- a/source/console.cpp +++ b/source/console.cpp @@ -44,6 +44,9 @@ Console::Console(unsigned n) if(handle==0) tcgetattr(handle, &orig_attr); #endif + + if(n==0) + set_events(P_INPUT); } Console::~Console()