[core:terminal] Remove superfluous @(init) and @(fini)

This commit is contained in:
Jeroen van Rijn
2026-04-04 14:38:27 +02:00
parent addbf1b6d7
commit b3c1725025

View File

@@ -17,7 +17,6 @@ old_modes: [2]struct{
{windows.STD_ERROR_HANDLE, 0},
}
@(init)
_init_terminal :: proc "contextless" () {
vtp_enabled: bool
@@ -49,7 +48,6 @@ _init_terminal :: proc "contextless" () {
}
}
@(fini)
_fini_terminal :: proc "contextless" () {
for v in old_modes {
handle := windows.GetStdHandle(v.handle)