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

display range problem #3

Open
jxxcr opened this issue Nov 20, 2023 · 3 comments
Open

display range problem #3

jxxcr opened this issue Nov 20, 2023 · 3 comments
Assignees

Comments

@jxxcr
Copy link

jxxcr commented Nov 20, 2023

How do I adjust the display range? Some parts of the area are off the screen.
image

@spirometaxas
Copy link
Owner

Thanks for reaching out. For the current release (v2.0.3), the minimum required screen dimensions are 156 columns x 46 rows. At the moment, when the terminal screen is smaller than those dimensions, the right and bottom parts of the display are cut off, so the screenshot above is expected behavior.

There is currently no way to fix this, but here are some possible solutions I am considering:

  • Option 1: Implement a mini-version(s) of the app for smaller screens.

  • Option 2: Make the screen scrollable when the terminal dimensions are smaller than the minimum required screen dimensions. The scrolling would be assigned to keys, and would allow the user to pan around (up/down/left/right).

I am leaning towards Option 2 since it would be compatible with all terminal screen sizes. Option 1, however, would potentially require multiple implementations for different smaller dimensions. Also, as the screen gets more compressed the app would become less readable, and harder to maintain.

Let me know if you have any thoughts on this. I will update this issue when the changes are released.

Thanks!

@spirometaxas spirometaxas self-assigned this Dec 29, 2023
@spirometaxas
Copy link
Owner

spirometaxas commented Dec 29, 2023

Also, what terminal program are you using? I am just curious since the background color should be set to black (programmatically).

@spirometaxas
Copy link
Owner

Update: Scrolling has now been added as part of v2.1.0. It is available to use when the screen is smaller than the minimum required dimensions (156 columns x 46 rows).

Scrolling Controls:

  • Use COMMA (,) to scroll up.
  • Use PERIOD (.) to scroll down.
  • Use LEFT CARROT (<) to scroll left.
  • Use RIGHT CARROT (>) to scroll right.

Let me know if you see any issues.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants