Take a look at

[https://github.com/qqtop/NimCx](https://github.com/qqtop/NimCx)

which was made for similar problems.

You could do something like
    
    
    import nimcx
    var nocolor:bool = false
    printLnBiCol("exit (quitting the app)", colLeft = if nocolor==true: 
termwhite else: yellow,sep = " ")
    
    
    
    Run

printLnBiCol is a function which allows you to specify two colors and much more 
without having to fuzz about with terminal codes.

Reply via email to