Removed dimmed text for visibility reasons

This commit is contained in:
Fabian Druschke
2025-12-16 22:55:07 +01:00
parent c50019abc3
commit ee3441f32c

View File

@@ -1850,11 +1850,7 @@ void nwipe_gui_prng( void )
}
else
{
/* Dim + “(N/A)” suffix. You can also combine A_REVERSE
* when focused; here only text is dimmed. */
wattron( main_window, A_DIM );
mvwprintw( main_window, yy++, tab1, " %s (N/A)", nwipe_aes_ctr_prng.label );
wattroff( main_window, A_DIM );
}
yy++;
@@ -2543,9 +2539,6 @@ void nwipe_gui_view_device( int count, nwipe_context_t** c, int focus )
box( main_window, 0, 0 );
nwipe_gui_title( main_window, " Device Topology " );
/* Content grey/dim */
wattron( main_window, A_DIM );
int yy = 2;
mvwprintw( main_window, yy++, 2, "Device: %s", disk->gui_device_name );
@@ -2563,9 +2556,6 @@ void nwipe_gui_view_device( int count, nwipe_context_t** c, int focus )
/* Tree view (keeps within the box: last line is wlines-2) */
(void) nwipe_gui_print_sysfs_tree( main_window, yy, wlines - 2, 4, wcols - 4, sysfs_target );
/* Back to normal */
wattroff( main_window, A_DIM );
wrefresh( main_window );
timeout( 250 );