Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blitter ought degrade to no more than quadblitter on linux console #1334

Closed
dankamongmen opened this issue Feb 6, 2021 · 3 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dankamongmen
Copy link
Owner

dankamongmen commented Feb 6, 2021

Braille and sextants are not present on the Linux console, and are unlikely to be there anytime soon (though see #1333). We ought degrade to NCBLIT_2x2 for both of them (unless NCVISUAL_OPTION_NODEGRADE is in play, of course) when on the Linux console.

acceptance criteria: the plot in notcurses-demo ought generate meaningful glyphs in the linux console. the keller demo still ought break up in the sexblitter/braille portions, since we're refusing degradation there.

@dankamongmen dankamongmen added the bug Something isn't working label Feb 6, 2021
@dankamongmen dankamongmen added this to the 2.2.0 milestone Feb 6, 2021
@dankamongmen dankamongmen self-assigned this Feb 6, 2021
@dankamongmen
Copy link
Owner Author

if NCOPTION_NO_FONTCHANGES is in play, we probably don't want to go beyond ASCII [shudder].

@dankamongmen
Copy link
Owner Author

do we even have degrading in plot blitting? we might not. i think it ought be always done there, if needed (i.e. no option to disable it). though why would this case be that different from media blitting, hrrmmm?

@dankamongmen
Copy link
Owner Author

OK. I've added a field braille to struct tinfo. We set this true everywhere but when $TERM equals linux. We degrade from braille to 3x2, and if 3x2 isn't available, we decay to 2x2. We now have a working plotter in notcurses-demo on the linux console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant