con_debug_leave(9)
π con_debug_leave(9) β Kernel API Manual, bestie edition
okay so we're in the kernel API manual today, section 9 (that's the kernel-y one, iykyk), and the star of the show is con_debug_leave π
β¨ NAME β¨
con_debug_leave β restore console state π
like, the console was in a whole different era before, and this function brings it back. no cap.
π¦ SYNOPSIS π¦
void con_debug_leave (void );
yes that really is the whole signature. yes the space before the closing paren is real. character for character, don't @ me π
πΈ ARGUMENTS πΈ
voidβ no arguments. that's it. zero. zilch. not one single parameter, and honestly? iconic. the way she needs absolutely nothing from you and still handles her business π«Ά
β DESCRIPTION β
so here's the tea, bestie β β
con_debug_leave restores the console state to what it was before the kernel debugger was invoked. literally just putting the console back the way you found it. bring it back, bring it back, bring it back π₯
think of it as the cleanup era after the kernel debugger had its main character moment. the console gets its old vibe back. periodt β¨
ngl, this is the "ok we're done here, nothing to see" of kernel functions. lowkey obsessed with how unbothered she is π§
π SEE ALSO π
the whole friend group, fr fr π β and these all live in the kernel file ./drivers/tty/vt/vt.c:
vc_font_pitch(9)vc_font_size(9)vc_do_resize(9)__vc_resize(9)vt_resize(9)enum vc_ctl_state(9)vc_sanitize_unicode(9)vc_translate_unicode(9)vt_kmsg_redirect(9)con_is_bound(9)con_is_visible(9)con_debug_enter(9)do_unregister_con_driver(9)
and yeah, con_debug_enter(9) is right there in the list β she's the enter to this leave, the prequel to the sequel, the duo we didn't know we needed π
π friendly reminder: every single one of those references is spelled exactly like that, so copy them character for character if you're typing them out. no "fixing" the underscores, no merging, no inventing options. the manpage said what it said π
that's the whole page, bestie β she's short, she's sweet, and she does exactly one thing extremely well. and honestly? that's the dream πΈ
β xoxo, from ./drivers/tty/vt, dated October 2026, and it's still con_debug_leave(9) π see you in the next one, muah π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms