fix readline calculation messed up with color sequence