-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
make NCBLIT_3x2 the default for NCSCALE_STRETCH once it works in most terminals #1114
Comments
kitty 0.19.2 came out today in Debian Unstable, but my fix for sextants isn't yet present (it'll be in 0.19.3, not yet released). I don't think we can make this switch until that's at least in Unstable. |
Sooooooooooooooooooooooooooooooooo i'm wondering whether we might not check for an environment variable, and if that environment variable is set, use |
We also need wait for everyone to have glibc 2.32, which brings in necessary Unicode 13 changes. |
Since we're now already doing grisly per-emulator stuff (see kitty fix from #1117), we might as well turn this on for terminals we know to support it. Cat's out of the bag on this one. First thing we'll need do is move |
this has been invalidated by the move to direct blitting. i'm thinking i'll turn it on for any |
urk, there's no pretty way to do this, since |
Add a new member 'sextants' to the terminfo cache (both notcurses and ncvisual contain one of these, and both initialize it the same way -- interrogate_terminfo()). Add a new function, 'notcurses_media_defblitter()', and deprecate 'ncvisual_default_blitter()' (the latter didn't receive enough information to return NCBLIT_3x2). Update all callers. Add new *internal* function rgba_default_blitter(), so this logic can be freely changed in the future. If sextants are available, and we're scaling, return NCBLIT_3x2. Once we detect sextant availability, we'll have sexblitter as a default -- stay tuned! #1114
About to turn this on... |
looks like i busted the rust wrappers. i can fix this, but @joseluis seems to be doing some Christmas Day hacking of his own, so i'll leave it to him for the moment: https://drone.dsscaw.com:4443/dankamongmen/notcurses/5124 |
If the TERM string contains either of "kitty", "vte", or "gnome", enable sextants. Fuck it, we'll do it live!
happy hacking christmas @dankamongmen , I broke the compilation earlier before by forgetting to include a couple of files with necessary changes. |
Alright, 2.1.2 distributed this for kitty and VTE. We'll enable others as they come available, and make it the general default once most everything supports it. |
NCBLIT_3x2
is superior toNCBLIT_2x2
when there's proper font support (it's stictly superior regarding aspect ratio as well as resolution, 1.5:1 instead of 2:1). While we probably don't want to make it theNCBLIT_DEFAULT
choice forNCBLIT_STRETCH
just yet, due to font problems (see e.g. #1099), it ought eventually become the default. Reminder to investigate regularly, and switch when satisfied.The text was updated successfully, but these errors were encountered: