Fixing the display of history in terminal.app

Once I started using leopard's new shiny terminal I noticed some problems with the terminal whenever I was using the cursor keys to access items in the memory. What happens is the lines of history appear to start halfway through a previous line of history like so: For a while…