Keyboard lastchar