SBoudrias/Inquirer.js — pull request #162 by sindresorhus (2014-09-22 00:02:06+00:00)
Title: handle ansi styled prefix

followup to 0968122686180d01e1c9aca26527d7a465b28e05

before it didn't detect the end of the string correctly when it ended in an ansi escape.

also make sure the inserted `:` is inserted inside any ansi escape code.

-

Noticed it when `yo` still showed `? 'Allo Sindre! What would you like to do?:` with the latest version of Inquirer.