mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-17 05:32:41 +00:00
The cell fragment shader sampled the glyph, underline, strike, cursor, and underline-exclusion texels for every cell. A space is sprite 0, and that sprite is empty, so those samples add nothing. The vertex shader now sets skip_text when the glyph, both decoration indices, and the cursor sprite are all zero. The fragment writes the background it already computed and skips the samples. A block cursor is sprite 0, so its color stays in the background. An underline, strike, URL underline, or beam, underline, or hollow cursor still samples. The foreground-only pass writes zero for a skipped cell. On Linux, platform text composition is gamma 1 and contrast 0, which is pow(alpha, 1) * 1. TEXT_CONTRAST_IDENTITY compiles that function down to returning the color unchanged. legacy and any other numbers keep the old math. A config reload that crosses that line rebuilds the cell programs. The identity flag is only varied when the new gamma path is on, so the cell programs go from 18 to 27. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| atexit.py | ||
| base.py | ||
| CascadiaCode-Regular.otf | ||
| check_build.py | ||
| child.py | ||
| choose_files.py | ||
| clipboard.py | ||
| ComfyCode-Regular.ttf | ||
| command_palette.py | ||
| completion.py | ||
| crypto.py | ||
| datatypes.py | ||
| dnd.py | ||
| dnd_kitten.py | ||
| docks.py | ||
| edit_in_kitty.py | ||
| file_transmission.py | ||
| FiraCode-Medium.otf | ||
| fonts.py | ||
| glfw.py | ||
| gr.py | ||
| GraphemeBreakTest.json | ||
| graphics.py | ||
| hints.py | ||
| iosevka-regular.ttf | ||
| iterable_arguments.py | ||
| keys.py | ||
| layout.py | ||
| LiberationMono-Regular.ttf | ||
| main.py | ||
| mouse.py | ||
| multicell.py | ||
| notifications.py | ||
| notify.py | ||
| open_actions.py | ||
| options.py | ||
| panels.py | ||
| parser.py | ||
| remote_control.py | ||
| resize_edge.py | ||
| resize_fraction.py | ||
| screen.py | ||
| search_query_parser.py | ||
| selection_drag.py | ||
| shell_integration.py | ||
| shm.py | ||
| single_instance.py | ||
| slang.py | ||
| ssh.py | ||
| tab_bar.py | ||
| tab_drop.py | ||
| tab_workspaces.py | ||
| tui.py | ||
| twemoji_smiley-cff2_colr_1.otf | ||
| utmp.py | ||