Prompt demo: Only the unmatched quote is an error

The text after is normal quoted text since
822b53c67a.

We might want to find nicer error text.

Fixes #8260.
This commit is contained in:
Fabian Homborg
2021-08-30 17:32:55 +02:00
parent 23e6698dc8
commit 4194977569
2 changed files with 6 additions and 2 deletions

View File

@@ -65,7 +65,11 @@ fish cannot change the background color of your terminal. Refer to your terminal
ng-mouseenter="csHoveredType = 'error'"
ng-mouseleave="csHoveredType = false"
data-ng-style="{ 'color': interpret_color(selectedColorScheme.error)}"
ng-click="selectColorSetting('error')">'Errors are the portals to discovery</span>
ng-click="selectColorSetting('error')">'</span><span ng-class="{cs_clickable: customizationActive, cs_editing: csEditingType == 'quote'}"
ng-mouseenter="csHoveredType = 'quote'"
ng-mouseleave="csHoveredType = false"
data-ng-style="{ 'color': interpret_color(selectedColorScheme.quote)}"
ng-click="selectColorSetting('quote')">Errors are the portals to discovery</span>
<br>