capture panel with/out ansi-escape following user config