reduce(): 10 x 832,441 ops/sec ±1.11% (87 runs sampled)
reduce(): 100 x 56,307 ops/sec ±1.65% (87 runs sampled)
reduce(): 1,000 x 1,158 ops/sec ±1.58% (88 runs sampled)
reduce() w/ mutate: 10 x 3,144,202 ops/sec ±1.27% (91 runs sampled)
reduce() w/ mutate: 100 x 556,441 ops/sec ±1.08% (94 runs sampled)
reduce() w/ mutate: 1,000 x 67,205 ops/sec ±0.40% (97 runs sampled)
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).
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