marcsosduma / cobgdb

Command-Line Debugger for GnuCOBOL on Linux and Windows
GNU General Public License v3.0
5 stars 1 forks source link

User capability to change screen colors #42

Open Harry6598 opened 3 weeks ago

Harry6598 commented 3 weeks ago

Hello

Is there a way for a user to change the screen colors used by Cobgdb?

For example, Cobgdb uses dark blue for some COBOL verbs. I find it hard to read dark blue characters against a black background on my monitor. I would like to change dark blue to light blue.

Thanks

marcsosduma commented 1 week ago

Hi! We haven't implemented a feature to configure the colors yet. But if you want to change it manually, you can modify line 169 of the highlight.c file: From: h->color=color_blue; To: h->color=color_light_blue;

Harry6598 commented 1 day ago

Hello In highlight.c I changed line 169 from color_blue to color_light_blue. I ran a test but the characters on the cobgdb screen which had been dark blue did not change. Is there something else I need to do along with editing highlight.c in order to make the color change take effect? Thanks

GitMensch commented 1 day ago

Just to make sure... after you did edit that file and run 'make' you did see that the C compiler did create a new object for which was then used to link cobgdb, right?

Harry6598 commented 15 hours ago

Hello: I followed your instructions and then ran a test. The color change has now taken effect. Thank you for your help with this.