Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/output.c b/src/output.c
index f7f95ab1..435471a8 100644
--- a/src/output.c
+++ b/src/output.c
@@ -9,6 +9,7 @@
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <strings.h>
+#include <wlr/backend/drm.h>
#include <wlr/types/wlr_buffer.h>
@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active June 18, 2024 19:00
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh