GDB TUI 启动报错

GDB TUI 启动报错

GDB TUI 启动报错 如果你使用tmux,那么有可能会在启动gdbtui时报错: cannot enable the tui error opening terminal term=screen-256color 解决 open file ~/.tmux.conf, add following

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"
Comment