Oh-my-posh3: Segment after newline is not displayed with Version 3.75.1

Created on 17 Jan 2021  路  4Comments  路  Source: JanDeDobbeleer/oh-my-posh3

Prerequisites

  • [x] I have read and understand the CONTRIBUTING guide
  • [x] I looked for duplicate issues before submitting this one

Description

With version 3.75.1 the new line segment is not displayed in powershell.

Environment

  • Oh my Posh version: 3.75.1
  • Theme: my own theme but also tested with the powerlevel10k_classic
  • Operating System: Windows
  • Shell: PowerShell 7.1.1
  • Terminal: WindowsTerminal

Steps to Reproduce

  1. Update oh-my-posh to Version 3.75.1
  2. Set a theme with a "newline"

Expected behavior: [What you expected to happen]
image
image

Actual behavior: [What actually happened]
image
image

Most helpful comment

I think I know what went wrong. Will fix tomorrow 馃檹馃徎

All 4 comments

I think I know what went wrong. Will fix tomorrow 馃檹馃徎

I could reproduce it, this change resolves the issue.

Can confirm the fix on my end! Thanks @JanDeDobbeleer

It works, thank you @JanDeDobbeleer!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ozerty picture ozerty  路  7Comments

DotNetSparky picture DotNetSparky  路  4Comments

fedeiglesias picture fedeiglesias  路  4Comments

MJECloud picture MJECloud  路  6Comments

meakbiyik picture meakbiyik  路  9Comments