You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
term->scroll_end_row seem a 0 based value so, if I set "19" as bottom line, term->scroll_end_row=18.
term->cursor_y seem a 1 based value so, if i place the cursor in line 100, term->cursor_y=100.
i was wrong. the mistake is not this one. problems are scattered here and there. cursor_x and cursor_y are 0 based but sometime they are assigned to the full width/height of the display , while they should be width-1 and height-1.
On Thu, Oct 4, 2018 at 6:29 PM aldolo ***@***.***> wrote:
i was wrong. the mistake is not this one. problems are scattered here and
there. cursor_x and cursor_y are 0 based but sometime they are assigned to
the full width/height of the display , while they should be width-1 and
height-1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AERqiUfkl5EImz1-0YIhN9xWKFGlvgD3ks5uhjdxgaJpZM4XFhi_>
.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
term->scroll_end_row seem a 0 based value so, if I set "19" as bottom line, term->scroll_end_row=18.
term->cursor_y seem a 1 based value so, if i place the cursor in line 100, term->cursor_y=100.
this piece of code place y cursor not at the bottom of the scrolling area but 2 line above (-1)
The text was updated successfully, but these errors were encountered: