Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

My screen is too small, and when editing it returns an error. #15

Closed
brodycritchlow opened this issue Jul 24, 2022 · 4 comments
Closed
Labels
enhancement New feature or request

Comments

@brodycritchlow
Copy link

So my screen is a little too small Whatver x 31 instead of Whatever x 37, so I tried to change it but it just outputs:

[E] Something went wrong -> addwstr() returned ERR

Any way to fix?

@thejoabo
Copy link
Owner

thejoabo commented Jul 24, 2022

Hello @SpaceDevz,
So, I "hard coded" those values (112, 37) so all the information needed should fit without any problems on the terminal. The "addwstr()" raises an error when the string size is too big or x and y axis is set to a value outside the screen. When you changed those values, you basically allowed the information to be displayed outside the screen and that is why you always get this error. The way to fix it is by reverting your modification (back to 37 - the default height).

I can release a compact mode, where the information is limited to only the really important ones. This would fit your needs, since shouldn't be a problem to smaller screens. Would this work for you ?

@thejoabo thejoabo added the enhancement New feature or request label Jul 24, 2022
@brodycritchlow
Copy link
Author

Yes, sorry for the trouble in making a new release. I wish I could just get a bigger monitor but thanks for the help!

@thejoabo
Copy link
Owner

No problem at all. I'll close this issue for now and mention you when I commit the update containing the compact mode.

@thejoabo
Copy link
Owner

Hey @SpaceDevz , I just finished the compact mode. Also, i opened a discussion here #23 , what do you think about the design ? The minimum size is small enough for your needs ? Do you have any suggestions ? (If possible, answer there, please) =)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants