diff --git a/sys/init/7.multishell.lua b/sys/init/7.multishell.lua index b6ada5d..d8b722a 100644 --- a/sys/init/7.multishell.lua +++ b/sys/init/7.multishell.lua @@ -264,7 +264,7 @@ kernel.hook('multishell_redraw', function() write(currentTab.sx - 1, ' ' .. currentTab.title:sub(1, currentTab.width - 1) .. ' ', _colors.focusBackgroundColor, _colors.focusTextColor) - if not currentTab.isOverview then + if not currentTab.noTerminate then write(w, closeInd, _colors.backgroundColor, _colors.focusTextColor) end end @@ -340,6 +340,7 @@ kernel.hook('kernel_ready', function() overviewId = multishell.openTab({ path = config.launcher or 'sys/apps/Overview.lua', isOverview = true, + noTerminate = true, focused = true, title = '+', env = env, diff --git a/sys/kernel.lua b/sys/kernel.lua index 62ab6bc..a817d23 100644 --- a/sys/kernel.lua +++ b/sys/kernel.lua @@ -179,6 +179,10 @@ function kernel.run(args) end function kernel.raise(uid) + if kernel.getFocused() and kernel.getFocused().pinned then + return false + end + local routine = Util.find(kernel.routines, 'uid', uid) if routine then diff --git a/sys/modules/opus/ui/tween.lua b/sys/modules/opus/ui/tween.lua index 7d0a13c..22601de 100644 --- a/sys/modules/opus/ui/tween.lua +++ b/sys/modules/opus/ui/tween.lua @@ -7,7 +7,7 @@ local tween = { Copyright (c) 2014 Enrique GarcĂ­a Cota, Yuichi Tateno, Emmanuel Oga - Licence details: https://opensource.org/licenses/MIT + license details: https://opensource.org/licenses/MIT ]] }