diff --git a/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp b/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp index 96d5deb3..34a6cbe6 100644 --- a/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp +++ b/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp @@ -186,6 +186,10 @@ void plKeyboardDevice::HandleKeyEvent(plOSMsg message, plKeyDef key, bool bKeyDo plAvatarInputInterface::GetInstance()->ForceAlwaysRun(fCapsLockLock); } } + if (key == KEY_ENTER) + { + c = '\n'; + } // send a key event... plKeyEventMsg* pMsg = TRACKED_NEW plKeyEventMsg;