aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorGlauber Campinho <[email protected]>2017-08-17 02:23:22 +0200
committerGlauber Campinho <[email protected]>2017-08-21 17:05:35 +0200
commit6a179d28022b46c287a3e075561f97aa85208e31 (patch)
tree6facc3413fd1ac1805c32a18a183e5938355ec3d /system
parentf392006644991074d2c4d5055773409c5e0503d7 (diff)
downloadotp-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 'system')
0 files changed, 0 insertions, 0 deletions