Currently, KEYBUFFER is a dynamic array that increases in size for keypresses until "Enter" key is pressed. If someone dropped a tape measure on the keyboard and kept the "A" key pressed for 5 hours, would that cause a massive amount of memory to be dedicated to this array that only requires 6 char?
Need to implement max size on the array when pushing items to it.