mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-29 12:01:07 -08:00
chore: adjust powerline symbol to glyph
This commit is contained in:
parent
d29a6befd9
commit
0fbc8910bd
|
@ -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": [
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -32,8 +32,8 @@ func TestStringImageFileWithText(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestStringImageFileWithANSI(t *testing.T) {
|
||||
prompt := `[38;2;0;55;218;49m[7m[m[0m[48;2;0;55;218m[38;2;255;255;255m oh-my-posh
|
||||
[0m[48;2;193;156;0m[38;2;0;55;218m[0m[48;2;193;156;0m[38;2;17;17;17m main ≡ ~4 -8 ?7 [0m[38;2;193;156;0m[0m
|
||||
prompt := `[38;2;0;55;218;49m[7m\uE0B0[m[0m[48;2;0;55;218m[38;2;255;255;255m oh-my-posh
|
||||
[0m[48;2;193;156;0m[38;2;0;55;218m\uE0B0[0m[48;2;193;156;0m[38;2;17;17;17m main ≡ ~4 -8 ?7 [0m[38;2;193;156;0m\uE0B0[0m
|
||||
[37m [0m[0m`
|
||||
err := runImageTest(prompt)
|
||||
assert.NoError(t, err)
|
||||
|
|
Loading…
Reference in a new issue