Oh-my-posh3: AgnosterPlus cuts out last line

Created on 26 Nov 2020  路  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

AgnosterPlus cuts out last line of output

Environment

  • Oh my Posh version: 3.44.1
  • Theme: AgnosterPlus
  • Operating System: Ubuntu 20.04.1 LTS (focal)
  • Shell: fish, version 3.1.0 | GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
  • Terminal: Windows Terminal, Version: 1.4.3243.0

Steps to Reproduce

  1. Use theme AgnosterPlus
  2. List files in directory

Expected behavior: Last line is not cut out

Actual behavior: Last line is cut out
image
Top listing is AgnosterPlus
Bottom listing is Agnoster
You can see that oh-my-posh3 folder isn't appearing, no idea if that is intentional. Doesn't happen in PowerShell because it prints one empty line at the end of output.

bug

All 4 comments

That's probably due to moving the cursor up. Although it shouldn't clear the line behind the cursor, it is being cleared after the cursor. Pressing enter should in that case also clear the prompt.

image
Just few enter presses

Found the issue, will try to fix it. The problem is the line is cleared while moving the cursor. It should only do so after the last segment of a block.

3.44.3 should be available soon.

Was this page helpful?
0 / 5 - 0 ratings