Suspending keyboard input to CINT

I tried using Getlinem(), but the reason for using TApplication::KeyPressed() in the first place was so that ROOT can continue processing GUI events such as interaction with canvases until the user presses a key. I thought that Getlinem(kOneChar) can do this, but it seemed to be a blocking operation so I gave it up… maybe my memory is fuzzy though?