~gpanders/gpanders.com

ae4dc82a80c83982f942ad01defeaa08893472c8 — Gregory Anders 1 year, 3 months ago f676d79
Another fixup for pairs values
1 files changed, 2 insertions(+), 6 deletions(-)

M content/blog/the-definitive-guide-to-using-tmux-256color-on-macos.md
M content/blog/the-definitive-guide-to-using-tmux-256color-on-macos.md => content/blog/the-definitive-guide-to-using-tmux-256color-on-macos.md +2 -6
@@ 35,7 35,7 @@ $ /usr/local/opt/ncurses/bin/infocmp -x tmux-256color > ~/tmux-256color.src
```

Now, modify the `tmux-256color.src` file to change the `pairs` value from
65536 to 32768. This must be done because of a bug in ncurses 5.7 that
65536 to 32767. This must be done because of a bug in ncurses 5.7 that
interprets `pairs#65536` as `pairs#0`[^1].

Before:


@@ 48,11 48,7 @@ or

After:

    pairs#0x8000

or

    pairs#32768
    pairs#32767

Prior to macOS Catalina, it was possible to install this new terminfo entry
directly into the system database `/usr/share/terminfo`. However, as of