improve redraw: do not dirty the cmd history