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

Status line at the top #129

Open
dumblob opened this issue Jan 14, 2024 · 1 comment
Open

Status line at the top #129

dumblob opened this issue Jan 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dumblob
Copy link

dumblob commented Jan 14, 2024

I see hardcoded numbers for the status line. Any plans to refactor the code to make it easy to recompile with status line at the top? Or even having a runtime option to set status line to the top instead of bottom?

Thanks!

@tauraamui
Copy link
Owner

Correct me if I'm wrong but I believe you'd just need to amend this line:

y := ctx.window_height() - 1

from being: y := ctx.window_height() - 1 to y := 1 as the rest of the positioning is done relative to that. I haven't read all of that part of the code for a while, but I don't see why it can't be a configuration option at some point.

@tauraamui tauraamui added the enhancement New feature or request label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants