]> git.lizzy.rs Git - linenoise.git/commit
Bug fix. Discount the characters of ANSI color control sequences.
authorAndreas Kupries <akupries@shaw.ca>
Wed, 20 Feb 2013 23:57:44 +0000 (15:57 -0800)
committerSteve Bennett <steveb@workware.net.au>
Thu, 21 Feb 2013 01:23:18 +0000 (11:23 +1000)
commit390d3556fee04efb54e8871a65337361d740186c
tree8e7ac5cdc5482fcb3112f2815bf197dab3f306a4
parent1db06c8e60cd20d5a6cb07eae3ea5fb6609fbea1
Bug fix. Discount the characters of ANSI color control sequences.

Without discounting them they cause the input area to start too far right
of the end of the prompt.
linenoise.c