Output Highlight Rules change how matching terminal text looks without changing the text itself. Use them to make errors, warnings, or other output easier to spot. Unlike regular expression triggers, these rules cannot run commands, send input, ring the bell, or show notifications.
1.Open a terminal tab. Choose Tabs > Output Highlight Rules... from the menu, or choose Output Highlight Rules... on the Tabs ribbon tab.
2.Enter an optional Name and a Regular expression. For example, use ERROR|WARNING to match either word. Matching is case-insensitive unless you select Match case.
3.Choose the appearance: click Foreground or Background to pick a color; leave either at Default to retain the terminal's color. You can also enter a Font family (optional) and select Bold, Italic, or Underline.
4.Leave Enabled selected to apply the rule. Select Current profile only if the rule should apply only to the active tab's profile; otherwise, it applies to all profiles. This option is unavailable when the tab has no persistent profile ID.
5.Click Add, then OK to save. The saved rules are reloaded in open terminal tabs.
For example, a rule named Errors and warnings with the pattern ERROR|WARNING, a red foreground, and Bold enabled emphasizes matching text without changing its background or triggering any action.
•Select a rule in the list, change its fields, and click Update. Changes to fields are not applied to the selected rule until you click Update.
•Clear Enabled and click Update to keep a rule without applying it. Disabled rules appear with a [ ] prefix in the list.
•Click Remove to delete the selected rule. Click Clear beside a color to restore Default for that color.
•Click OK to save additions, updates, and removals. Cancel discards changes made in the dialog. You can save up to 64 rules.
Rules run in list order. If several rules match the same text, the later rule controls its appearance in the overlapping range. Search and selection highlight colors take precedence over rule colors.
Rules use Take Command's configured regular-expression syntax. They highlight matching ranges in displayed terminal rows, including existing scrollback. When shell-integration command markers are available, prompt and command-input rows are excluded. Without those markers, the terminal cannot reliably tell echoed input from output, so rules can also match displayed input.
The Current profile only option binds a rule to the active profile's persistent ID, not just its display name. To edit a rule for another profile, open the dialog from a tab using that profile. A rule with no profile scope applies to all profiles.
Rules affect only the display: they do not modify terminal content, recorded output, or the terminal's stored colors and attributes. They are saved in the Take Command INI file separately from Regex Triggers.
•Check that the rule is Enabled, saved with OK, and scoped to the profile you are viewing.
•Check Match case and the pattern. Empty or overly long patterns cannot be added; invalid expressions do not highlight anything.
•If shell-integration markers are present, test against command output rather than the prompt or command line.
•Matching is limited to the first 4,096 cells of a row, with bounded per-row matches and regex-engine work. A pattern that exceeds those limits may not highlight every occurrence.