From: Rian Hunter Date: Thu, 29 Jan 2015 23:00:39 +0000 (-0800) Subject: Correct shift amount on MODE_INSERT in tputc() X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=aba6c292af347588b9c2f5d1a400a6270b5a447f;hp=aba6c292af347588b9c2f5d1a400a6270b5a447f;p=st.git 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. ---