Skip to content

bug: Handle zones in non WithAltScreen #11

@Chillance

Description

@Chillance

🌧 Describe the problem

AltScreen enables a fresh screen and everything starts from the top. But, if I don't use this AltScreen, it seems the zones y position will be calculated wrong. I tested with not having a AltScreen and I noticed my styles triggered when I was at the top with the mouse, although the output was at the bottom. So, it seemed to work, but it essentially triggered like the text was at the top.

I'm not sure how or if this could be solved but it would be nice if this worked somehow. Able to set some offset or even calculate it properly somehow?

⛅ Expected behavior

zones to work in non AltScreen.

🔄 Minimal reproduction

No response

💠 Version: bubblezone

b3469cc

🖥 Version: Operating system

linux/ubuntu

⚙ Additional context

No response

🤝 Requirements

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions