chore: adjust powerline symbol to glyph

This commit is contained in:
Jan De Dobbeleer 2021-11-08 18:44:06 +01:00 committed by Jan De Dobbeleer
parent d29a6befd9
commit 0fbc8910bd
6 changed files with 7 additions and 7 deletions

View file

@ -222,7 +222,7 @@ The following sample is based on the [AWS Segment][aws].
{
"type": "aws",
"style": "powerline",
"powerline_symbol": "",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#111111",
"foreground_templates": [

View file

@ -14,7 +14,7 @@ Display the currently active Angular CLI version.
{
"type": "angular",
"style": "powerline",
"powerline_symbol": "",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#1976d2",
"properties": {

View file

@ -14,7 +14,7 @@ Display the currently active Azure functions CLI version.
{
"type": "azfunc",
"style": "powerline",
"powerline_symbol": "",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#FEAC19",
"properties": {

View file

@ -14,7 +14,7 @@ Display the currently active .NET SDK version.
{
"type": "dotnet",
"style": "powerline",
"powerline_symbol": "",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#00ffff",
"properties": {

View file

@ -18,7 +18,7 @@ The Nerdbank.GitVersioning CLI can be a bit slow causing the prompt to feel slow
{
"type": "nbgv",
"style": "powerline",
"powerline_symbol": "",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#3a579a",
"properties": {

View file

@ -32,8 +32,8 @@ func TestStringImageFileWithText(t *testing.T) {
}
func TestStringImageFileWithANSI(t *testing.T) {
prompt := ` oh-my-posh
 main ~4 -8 ?7 
prompt := `\uE0B0 oh-my-posh
\uE0B0 main ~4 -8 ?7 \uE0B0
 `
err := runImageTest(prompt)
assert.NoError(t, err)