Correct shift amount on MODE_INSERT in tputc()
When MODE_INSERT is set we'd shift characters on the same line forward before inserting our character in tputc(). This did not account for wide characters where width != 1. This patch makes it so we shift the correct amount.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-505-g31b4d79a84