This corresponds to the following fixes in gocui's lineWrap function: - https://github.com/jesseduffield/gocui/pull/67/commits/86cf561ef493 - https://github.com/jesseduffield/gocui/pull/67/commits/24746d5cd6ee - https://github.com/jesseduffield/gocui/pull/67/commits/4b97941c4ec6