how Clearing keyboardBuffer

Hello, today a new question, is there a possibility to clear the keyboardBuffer after saving it in a table, so how can I clear the keyboardBuffer?

You know the old saying about reading the manual…

http://codea.io/reference/Display.html#keyboardBuffer

@SvCoder The only way to clear the keyboardBuffer is to call hideKeyboard then call showKeyboard. I requested a function long ago to clear the keyboard buffer, but it hasn’t happened yet.

@dave1707, Once again, you’ve fixed a problem for me. The documentation for keyboardBuffer says the buffer is cleared when the keyboard is shown and doesn’t mention that it has to be closed first. I was clearing input but not closing. Thanks.