[App edit] Files with ANSI codes render formatted and/or breaks scrolling #28

Closed
opened 2025-07-09 06:49:06 +00:00 by Ponali · 2 comments
Ponali commented 2025-07-09 06:49:06 +00:00 (Migrated from github.com)

I'm not sure if edit should support ANSI codes or not. If it should support ANSI codes, then scrolling horizontally breaks, and the cursor removes all color from characters it hovers on. If it shouldn't support ANSI codes, then rendering files shouldn't be formatted.

https://github.com/user-attachments/assets/815442d8-5194-4aeb-8d3b-3a3939e28be4

I'm not sure if `edit` should support ANSI codes or not. If it should support ANSI codes, then scrolling horizontally breaks, and the cursor removes all color from characters it hovers on. If it shouldn't support ANSI codes, then rendering files shouldn't be formatted. https://github.com/user-attachments/assets/815442d8-5194-4aeb-8d3b-3a3939e28be4
hexahedron1 commented 2025-07-09 06:56:20 +00:00 (Migrated from github.com)

What if you made it color the text but still show the ansi codes
This would probably solve the scrolling problem

What if you made it color the text but still show the ansi codes This would probably solve the scrolling problem
Ponali commented 2025-07-16 08:08:08 +00:00 (Migrated from github.com)

Fixed in 2965d62655.

Fixed in 2965d626555dfdaaf1b2375b231fabb5c58b3979.
Sign in to join this conversation.