Fix INKEY
This commit is contained in:
@@ -1522,6 +1522,9 @@ class PetitComputer
|
||||
}
|
||||
wstring inkey()
|
||||
{
|
||||
keybuffermutex.lock();
|
||||
scope (exit)
|
||||
keybuffermutex.unlock();
|
||||
if (!keybufferlen)
|
||||
{
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user