summaryrefslogtreecommitdiffstats
path: root/manual/src/tips-and-tricks/using-delta-with-tmux.md
diff options
context:
space:
mode:
Diffstat (limited to 'manual/src/tips-and-tricks/using-delta-with-tmux.md')
-rw-r--r--manual/src/tips-and-tricks/using-delta-with-tmux.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/manual/src/tips-and-tricks/using-delta-with-tmux.md b/manual/src/tips-and-tricks/using-delta-with-tmux.md
new file mode 100644
index 00000000..5df79ab4
--- /dev/null
+++ b/manual/src/tips-and-tricks/using-delta-with-tmux.md
@@ -0,0 +1,9 @@
+# Using Delta with tmux
+
+If you're using tmux, it's worth checking that 24 bit color is working correctly. For example, run a color test script like [this one](https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh), or one of the others listed [here](https://gist.github.com/XVilka/8346728). If you do not see smooth color gradients, see the discussion at [tmux#696](https://github.com/tmux/tmux/issues/696). The short version is you need something like this in your `~/.tmux.conf`:
+
+```Shell
+set -ga terminal-overrides ",xterm-256color:Tc"
+```
+
+and you may then need to quit tmux completely for it to take effect.