How to enable color options in ConEmu, similar to bash terminal?

20
2013-11
  • dearvivekkumar

    In Linux bash terminal we can enable color.

    Is it possible to achieve the same for ConEmu?

  • Answers
  • Maximus

    Seems to me, your question is incorrect. You need to enable color in your console application, but not in ConEmu, because it is terminal, but not a shell. Refer to your shell/application manuals. For example, ls has special switch.

    ls --color

    There are also ANSI sequences, ConEmu supports them - you must enable two options (ATM they are on the Features page of Settings dialog)

    • Inject ConEmuHk
    • ANSI X3.64

    Enabling colors in ConEmu

    Of course, your application must be able to output ANSI codes to console. If they not - ConEmu can't do anything with them, because it is terminal, but not a shell.

  • Brad Patton

    Have you looked in the Options dialog.

    enter image description here


  • Related Question

    ConEmu: how do I delete items from the "Create new console" dropdown?
  • Charles Roper

    In ConEmu's "Create new console" menu, is there a way of deleting items from the list of previously run commands?


  • Related Answers
  • Maximus
    1. Open a Create new console dialog (WinShiftw hotkey can be changed in Settings > Keys)
    2. Right-click on the Create new console dialog caption or hit AltSpace.
    3. Menu item > Reset command history...

    Alternatively, you may edit history manually in registry (HKCU\Software\ConEmu\«ConfigName»\CmdLineHistory) or in ConEmu.xml, whatever you use.

    PS. wow, new tag