mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
[core:terminal] Remove superfluous @(init) and @(fini)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user