Fix crash when editing lines that are exactly console width
plen+cooked_cursor==cols => begin = -1 which is passed to substr. The sign is incorrect as code should be removing a character from begin instead of trying to add a character.develop
parent
1880a32800
commit
ab179bbf42
Loading…
Reference in New Issue