From d420ac6da72e66a083dc2c46a02103957f217e8c Mon Sep 17 00:00:00 2001 From: Florian Meissner Date: Sun, 8 Jan 2012 16:39:23 -0500 Subject: [PATCH] Fix for inserting newlines into KI notes --- Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;