Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AgnosterPlus cuts out last line #195

Closed
2 tasks done
catthehacker opened this issue Nov 26, 2020 · 4 comments
Closed
2 tasks done

AgnosterPlus cuts out last line #195

catthehacker opened this issue Nov 26, 2020 · 4 comments
Labels
🐛 bug Something isn't working

Comments

@catthehacker
Copy link

catthehacker commented Nov 26, 2020

Prerequisites

  • I have read and understand the CONTRIBUTING guide
  • 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.

@JanDeDobbeleer
Copy link
Owner

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.

@catthehacker
Copy link
Author

catthehacker commented Nov 26, 2020

image
Just few enter presses

@JanDeDobbeleer JanDeDobbeleer added the 🐛 bug Something isn't working label Nov 26, 2020
@JanDeDobbeleer
Copy link
Owner

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.

@JanDeDobbeleer
Copy link
Owner

3.44.3 should be available soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants