Integrate input buffer handling into ConsoleWnd.