Instant trigger fires only once per line
The instant triggers in a profile should fire more than once in a line. For instance, if a regex matches more than once in a line, all instances should trigger separately, e.g., to highlight several occurrences of a string or character.
An example setup is https://gitlab.com/therwe/marknonbreakingspace. We will use this to reproduce the issue.
What happened: Typing in multiple non-breaking spaces in this example will only highlight the first of these characters. When they are evaluated as a single string all are highlighted.
In the screenshot below, multiple non-breaking spaces were typed after the prompt, then the return key was hit:
What should have happened: Every typed non-breaking space should be highlighted, i.e., the trigger should have fired for each typed one (and more than one would be seen highlighted after the prompt in this example).
-
iTerm2 version: Build 3.2.9
-
OS version: MacOS Mojave 10.14.5 (18F132)
-
Attach ~/Library/Preferences/com.googlecode.iterm2.plist here com.googlecode.iterm2.plist
-
Attach a debug log, if possible. debuglog.txt