ANSI escape codes do not work well with Amp's TUI, see a screenshot of neofetch's output below:
It looks like other editors (vi, neovim) just substitute in a textual representation of the escape codes (^[[0m, for instance). This is probably better than dealing with all the different forms of escape codes, which would involve changing the cursor, moving the cursor, setting colors, etc.
ANSI escape codes do not work well with Amp's TUI, see a screenshot of neofetch's output below:
It looks like other editors (vi, neovim) just substitute in a textual representation of the escape codes (
^[[0m
, for instance). This is probably better than dealing with all the different forms of escape codes, which would involve changing the cursor, moving the cursor, setting colors, etc.