fixed the issue with cursor stucked when using cmdhistory