Skip to content

Load ans#65

Open
AdrianGroty wants to merge 12 commits intodevottys:masterfrom
AdrianGroty:load_ans
Open

Load ans#65
AdrianGroty wants to merge 12 commits intodevottys:masterfrom
AdrianGroty:load_ans

Conversation

@AdrianGroty
Copy link
Contributor

@AdrianGroty AdrianGroty commented Feb 9, 2026

load .ans files
handle cp437, iso8599-1, utf-8
handle blinking, ice colors, 256 colors, modern escape codes, pablodraw 24-bit RGB codes
vd options for width (in columns), ice/blink, and encoding
feat. Claude, Gemini, ChatGPT, and Grok

load .ans files
add vd options for # columns, ice colors, and text encoding
ansi>ddw conversion logic
include SAUCE record at top of backing sheet
@AdrianGroty
Copy link
Contributor Author

Now with SAUCE

cache rgb conversions
refactor `to_ddw_row()`
remove debug prints
refactor sgr handling
move label from id column to type column
I have no idea what I'm doing.
add visidata option to convert 16-color ANSI codes to VGA palette
use `16` instead of `0` when converting RGB (0, 0, 0)
@AdrianGroty AdrianGroty changed the title Load ans Load ans #42 Feb 19, 2026
@AdrianGroty AdrianGroty changed the title Load ans #42 Load ans Feb 19, 2026
@AdrianGroty
Copy link
Contributor Author

Oh, and #42 (Mostly. .ans can only be saved in UTF-8 with 256 color codes, and I still kind of want to get ANSI music working, but this should otherwise load any ANSI art, legacy or modern.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments