<p>I think the colors are set in <code>conterm_init()</code>, see the following code section:</p>
<div class="highlight highlight-source-c"><pre>   <span class="pl-k">else</span>
#endif  <span class="pl-c"><span class="pl-c">/*</span> G_OS_UNIX <span class="pl-c">*/</span></span>
        {
                <span class="pl-k">static</span> <span class="pl-k">const</span> <span class="pl-k">char</span> *<span class="pl-k">const</span> colors[NFD] = { <span class="pl-s"><span class="pl-pds">"</span>#00C0C0<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>#C0C0C0<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>#C00000<span class="pl-pds">"</span></span>,
                        <span class="pl-s"><span class="pl-pds">"</span>#C0C0C0<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>#C000C0<span class="pl-pds">"</span></span> };
                guint i;

                console = <span class="pl-c1">get_widget</span>(<span class="pl-s"><span class="pl-pds">"</span>debug_context<span class="pl-pds">"</span></span>);
                <span class="pl-c1">context_apply_config</span>(console);
                debug_context = <span class="pl-c1">GTK_TEXT_VIEW</span>(console);
                dc_output = context_output;
                dc_output_nl = context_output_nl;
                context = <span class="pl-c1">gtk_text_view_get_buffer</span>(debug_context);

                <span class="pl-k">for</span> (i = <span class="pl-c1">0</span>; i < NFD; i++)
                {
                        fd_tags[i] = <span class="pl-c1">gtk_text_buffer_create_tag</span>(context, <span class="pl-c1">NULL</span>, <span class="pl-s"><span class="pl-pds">"</span>foreground<span class="pl-pds">"</span></span>,
                                colors[i], <span class="pl-c1">NULL</span>);
                }
                <span class="pl-c1">g_signal_connect</span>(console, <span class="pl-s"><span class="pl-pds">"</span>button-press-event<span class="pl-pds">"</span></span>,
                        <span class="pl-c1">G_CALLBACK</span>(on_console_button_3_press),
                        <span class="pl-c1">menu_connect</span>(<span class="pl-s"><span class="pl-pds">"</span>console_menu<span class="pl-pds">"</span></span>, &console_menu_info, <span class="pl-c1">NULL</span>));
        }</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/671#issuecomment-372035992">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ1zsb9LWC1FXNd_CpkPvbQlJ1BIwks5tc-m9gaJpZM4RZE3T">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0m639GSYxCTmzBLiRPygCwdAaEoks5tc-m9gaJpZM4RZE3T.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/issues/671#issuecomment-372035992"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"PERSON","message":"@LarsGit223 in #671: I think the colors are set in ```conterm_init()```, see the following code section:\r\n``` c\r\n\telse\r\n#endif  /* G_OS_UNIX */\r\n\t{\r\n\t\tstatic const char *const colors[NFD] = { \"#00C0C0\", \"#C0C0C0\", \"#C00000\",\r\n\t\t\t\"#C0C0C0\", \"#C000C0\" };\r\n\t\tguint i;\r\n\r\n\t\tconsole = get_widget(\"debug_context\");\r\n\t\tcontext_apply_config(console);\r\n\t\tdebug_context = GTK_TEXT_VIEW(console);\r\n\t\tdc_output = context_output;\r\n\t\tdc_output_nl = context_output_nl;\r\n\t\tcontext = gtk_text_view_get_buffer(debug_context);\r\n\r\n\t\tfor (i = 0; i \u003c NFD; i++)\r\n\t\t{\r\n\t\t\tfd_tags[i] = gtk_text_buffer_create_tag(context, NULL, \"foreground\",\r\n\t\t\t\tcolors[i], NULL);\r\n\t\t}\r\n\t\tg_signal_connect(console, \"button-press-event\",\r\n\t\t\tG_CALLBACK(on_console_button_3_press),\r\n\t\t\tmenu_connect(\"console_menu\", \u0026console_menu_info, NULL));\r\n\t}\r\n```\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-plugins/issues/671#issuecomment-372035992"}}}</script>