gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
22.01k stars 3.37k forks source link

Problem to render italic #575

Closed guedesfelipe closed 2 years ago

guedesfelipe commented 2 years ago

I'm having trouble rendering text in italics:

image

gpakosz commented 2 years ago

Hello @guedesfelipe 👋

You likely want to install the tmux-256color terminal description:

$ /*/*/Cellar/ncurses/6.3/bin/infocmp -x tmux-256color >tmux-256color.src
$ sudo /usr/bin/tic -x tmux-256color.src

Then relaunch tmux.

See https://github.com/tmux/tmux/issues/3218

guedesfelipe commented 2 years ago

Hello @guedesfelipe 👋

You likely want to install the tmux-256color terminal description:

$ /*/*/Cellar/ncurses/6.3/bin/infocmp -x tmux-256color >tmux-256color.src
$ sudo /usr/bin/tic -x tmux-256color.src

Then relaunch tmux.

See tmux/tmux#3218

Hello @gpakosz 👋

Tnx a lot for the reply!

I did that and it worked, but i needed to change my config with this: set -g default-terminal "tmux-256color" # colors! instead of set -g default-terminal "screen-256color" # colors!

gpakosz commented 2 years ago

@guedesfelipe You don't need to change anything.

.tmux.conf contains

set -g default-terminal "screen-256color"
if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"'

You just need to quit tmux entirely and relaunch it

guedesfelipe commented 2 years ago

@guedesfelipe You don't need to change anything.

.tmux.conf contains

set -g default-terminal "screen-256color"
if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"'

You just need to quit tmux entirely and relaunch it

You're right, my config was outdated. Now is updated! Tnx so much for the reply!