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

Fix cursor issues #19

Merged
merged 2 commits into from
Apr 13, 2019
Merged

Fix cursor issues #19

merged 2 commits into from
Apr 13, 2019

Conversation

labseven
Copy link
Collaborator

@labseven labseven commented Apr 13, 2019

Fixes #9, fixes #7.

@labseven labseven added the bug Something isn't working label Apr 13, 2019
@@ -21,7 +21,7 @@ void cursor_move_up(Cursor* cursor) {
}

void cursor_move_down(Cursor* cursor) {
if (cursor->y == (LINES - 2)) { // Take box lines into account
if (cursor->y == (LINES - 5)) { // Take box lines into account
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are to check against the border size and the status window size? Should those values be calculated and set in frontend.c or somewhere else?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since @MatthewBeaudouinLafon won't have time to assess this I'll merge it in now. I added the issue as #24.

@newsch
Copy link
Member

newsch commented Apr 13, 2019

I can confirm that it is fixed.

@newsch newsch merged commit bb28aae into master Apr 13, 2019
@labseven labseven deleted the adam/fix_issues branch April 15, 2019 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Right and bottom borders can be modified Cursor starts in status window when run
2 participants