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"
如果你使用tmux
,那么有可能会在启动gdbtui
时报错:
cannot enable the tui error opening terminal term=screen-256color
~/.tmux.conf
, add following line:set -g default-terminal "xterm-256color"