Skip to content

Commit

Permalink
fix: help menu bugs
Browse files Browse the repository at this point in the history
- The help menu should no longer flicker in group chats
- The main menu now properly shows the exit option
  • Loading branch information
JFreegman committed Dec 23, 2024
1 parent 441dc89 commit 7bd6e24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/groupchats.c
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ static void groupchat_onDraw(ToxWindow *self, Toxic *toxic)

draw_window_bar(self, toxic->windows);

wrefresh(self->window);
wnoutrefresh(self->window);

if (self->help->active) {
help_draw_main(self);
Expand Down
4 changes: 2 additions & 2 deletions src/help.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#endif /* PYTHON */

#ifdef PYTHON
#define HELP_MENU_HEIGHT 10
#define HELP_MENU_HEIGHT 11
#else
#define HELP_MENU_HEIGHT 9
#define HELP_MENU_HEIGHT 10
#endif /* PYTHON */
#define HELP_MENU_WIDTH 26

Expand Down

0 comments on commit 7bd6e24

Please sign in to comment.