Skip to content

Commit

Permalink
Merge branch 'issue2942' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Oct 19, 2024
2 parents a1c0be4 + 06ab614 commit cac964d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions glances/outputs/glances_curses.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,11 +903,14 @@ def display_popup(
return None

if popup_type == 'yesno':
# # Create a sub-window for the text field
# Create a sub-window for the text field
sub_pop = popup.derwin(1, 2, len(sentence_list) + 1, len(m) + 2)
sub_pop.attron(self.colors_list['FILTER'])
# Init the field with the current value
sub_pop.addnstr(0, 0, '', 0)
try:
sub_pop.addnstr(0, 0, '', 0)
except curses.error:
pass
# Display the popup
popup.refresh()
sub_pop.refresh()
Expand Down

0 comments on commit cac964d

Please sign in to comment.