Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: hide kernel console text during shutdown

Suppress printk + hide VT cursor + clear screen on tty0 before exit.
Prevents white text flashing on black screen after bye animation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+10 -1
+10 -1
fedac/native/src/ac-native.c
··· 2958 2958 frame_sync_60fps(&anim_time); 2959 2959 } 2960 2960 2961 - // Final black frame 2961 + // Final black frame + hide console text 2962 2962 graph_wipe(&graph, (ACColor){0, 0, 0, 255}); 2963 2963 ac_display_present(display, screen, pixel_scale); 2964 + // Suppress kernel console output during shutdown 2965 + { 2966 + // Set kernel loglevel to 0 (suppress all printk) 2967 + FILE *pl = fopen("/proc/sys/kernel/printk", "w"); 2968 + if (pl) { fputs("0 0 0 0", pl); fclose(pl); } 2969 + // Hide VT cursor 2970 + FILE *vc = fopen("/dev/tty0", "w"); 2971 + if (vc) { fputs("\033[?25l\033[2J", vc); fclose(vc); } 2972 + } 2964 2973 2965 2974 running = 0; 2966 2975 break;