mirror of
https://github.com/20kdc/OC-KittenOS.git
synced 2024-12-25 02:18:07 +11:00
sys-init fix (hopefully) (presync)
This wasn't properly committed & pushed, fixed that now. Hopefully it doesn't destroy everything.
This commit is contained in:
parent
6fc56b4d64
commit
85869aa80d
@ -32,7 +32,7 @@ return {
|
||||
},
|
||||
["neo-init"] = {
|
||||
desc = "KittenOS NEO / sys-init (startup)",
|
||||
v = 10,
|
||||
v = 11,
|
||||
deps = {
|
||||
"neo",
|
||||
"neo-icecap",
|
||||
|
@ -16,7 +16,7 @@ neo.requestAccess("s.h._kosneo_syslog")
|
||||
|
||||
-- gpuG/performDisclaim are GPU management, while screen is used for prioritization
|
||||
local gpuG, performDisclaim, screen = nil
|
||||
local scrW, scrH
|
||||
local scrW, scrH = 1, 1
|
||||
local nssInst
|
||||
|
||||
local console = {}
|
||||
@ -272,6 +272,7 @@ local function finalPrompt()
|
||||
if sig[1] == "x.neo.sys.screens" then
|
||||
-- We need to reinit screens no matter what.
|
||||
retrieveNssMonitor(screen)
|
||||
active = false
|
||||
end
|
||||
if sig[1] == "h.key_down" then
|
||||
if sig[2] ~= lastKeyboard then
|
||||
@ -280,7 +281,7 @@ local function finalPrompt()
|
||||
if nScreen and nScreen ~= screen then
|
||||
neo.emergency("new primary:", nScreen)
|
||||
retrieveNssMonitor(nScreen, screen)
|
||||
basicDraw()
|
||||
active = false
|
||||
end
|
||||
end
|
||||
if sig[4] == 15 then
|
||||
|
Loading…
Reference in New Issue
Block a user