diff options
author | Glauber Campinho <[email protected]> | 2017-08-17 02:23:22 +0200 |
---|---|---|
committer | Glauber Campinho <[email protected]> | 2017-08-21 17:05:35 +0200 |
commit | 6a179d28022b46c287a3e075561f97aa85208e31 (patch) | |
tree | 6facc3413fd1ac1805c32a18a183e5938355ec3d /bootstrap | |
parent | f392006644991074d2c4d5055773409c5e0503d7 (diff) | |
download | otp-6a179d28022b46c287a3e075561f97aa85208e31.tar.gz otp-6a179d28022b46c287a3e075561f97aa85208e31.tar.bz2 otp-6a179d28022b46c287a3e075561f97aa85208e31.zip |
Fix ANSI support in the console
The ANSI support doesn't work properly with edlin, the issue can be noticed when you try to use the history of the shell and the prompt prefix has ANSI (https://github.com/elixir-lang/elixir/issues/6448). The problem is that when a `\e` character appears, it handles it like a new line, dropping the buffer before it.
The solution is to always add the `\e` to the buffer like a regular character and handle it when writing the buffer instead.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions