Merge branch 'issue2942' into develop

This commit is contained in:
nicolargo 2024-10-19 10:17:21 +02:00
commit cac964df3c

View File

@ -903,11 +903,14 @@ class _GlancesCurses:
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()