Created a new buffer for input text