墨客儿的博客

GDB TUI 启动报错

Jun 22, 2024
155
0

GDB TUI 启动报错

如果你使用tmux,那么有可能会在启动gdbtui时报错:
cannot enable the tui error opening terminal term=screen-256color

解决

open file ~/.tmux.conf, add following line:

set -g default-terminal "xterm-256color"