Fix off-by-one issue of CPR on the right edge of terminal
Merge pull request #156 from saitoha/fix-right-edge-cpr

Fix off-by-one issue of CPR on the right edge of terminal