Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from:
aba6c29
)
Correct shift amount on MODE_INSERT in tputc()
author
Rian Hunter <
[email protected]
>
Thu, 29 Jan 2015 23:00:39 +0000
(15:00 -0800)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Thu, 5 Feb 2015 19:28:00 +0000
(20:28 +0100)
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.
No differences found