-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Fix help screen #3
Conversation
The last push allows for (partial) display of the teletype/MDA/CGA column on terminals with width less than 240. This enhancement allows for the same display on 240+ character wide displays but allows for seeing console output without having to decrease the displayed font size without having to take up the entire screen area, which I feel is a reasonable tradeoff for better usability of blink. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sending this, and welcome as a new contributor!
Could you please send me an email (to jtunney@gmail.com) where you say, "I intend to assign you the copyright to the changes I contribute to Blink and Cosmopolitan" and include a link to this PR in the email. Please send it from your real name via your primary email address. This is important because I need to own the code that goes in this repository, and I want to have it documented in email that you understand my wishes and that I'm respecting yours.
It's your responsibility to ensure that you're able to assign me copyright ownership. For example, (1) some employers make employees sign contracts that says the company owns everything you do. You can't give me something that doesn't belong to you. In that case, what I recommend is simply email your manager and tell them what you're doing. Make sure they feel comfortable with it. That's important because, once again, we need email records showing that we're respecting everyone's wishes.. Another example, (2) in some countries denizens are forbidden from assigning copyright altogether. If you live in such a place, then you can make your contributions public domain, using the language in either Unlicense or CC0.
I sent you an email as above for Cosmopolitan a month or so ago, which you approved. Would you like me to (re)send again with Blink included? Please let me know, thanks! |
Yes please. |
Hello @jart,
Just for kicks, I commented out the following line in PrintPanels() on my macOS system, using the standard
What I found is that the If you'd like, we can look further into this issue, to determine the exact reason for the display problem. I'm guessing perhaps larger set of control characters or possibly UTF-8 sequences should trigger a possible panel cursor reposition, rather than the current solution. Thank you! |
Hello @jart, I've debugged the problem, and fixed it with the last push. It seems the requirement for the extra cursor position is not because of IUTF8 handling within the kernel, nor the terminal emulators that we possibly suspected. Instead, it appears that in PrintPanels, the Changing the lines to
fixes the problem, with no requirement for all the extra \Ey;xH cursor positions. Yay! [EDIT: I'm still not really sure this is a [EDIT: Not tested on BSD, but confirmed fixed on macOS]. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sending the email and doing the bug research. I think we're good to merge now!
Fixes help screen display issue(s) described in #2.