TextWriter now supports command history. Press up to go back one history
level and down to go forward one history level.