kitty/kitty/cursor_fragment.glsl
Kovid Goyal df4df76d24
Switch to using an opaque block cursor
The text is rendered in the background color on top of the opaque
block cursor. We use the background color since applications can change
both cursor and background colors, so it is up to the application to
ensure the colors have good contrast. Fix #126
2017-09-17 13:03:02 +05:30

8 lines
115 B
GLSL

#version GLSL_VERSION
uniform vec3 color;
out vec4 final_color;
void main() {
final_color = vec4(color, 1);
}