fix long commands overlapping in prompt