From d6843605471826bb634985f2aa168fe9b604341f Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Mon, 30 Jan 2023 03:04:20 +0100 Subject: [PATCH] renamed MainTerm to HomeContext to avoid confusion --- src/lib/{MainTerm.hx => HomeContext.hx} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename src/lib/{MainTerm.hx => HomeContext.hx} (92%) diff --git a/src/lib/MainTerm.hx b/src/lib/HomeContext.hx similarity index 92% rename from src/lib/MainTerm.hx rename to src/lib/HomeContext.hx index 7076d4a..5a0cf67 100644 --- a/src/lib/MainTerm.hx +++ b/src/lib/HomeContext.hx @@ -5,7 +5,11 @@ import bin.Terminal; import kernel.ui.WindowManager; import kernel.ui.WindowContext; -class MainTerm { +/** + The WindowContext that spawns all other contexts. This is the main terminal. + Listens to global hotkey "POS1"/"HOME" to switch back to this context. +**/ +class HomeContext { private static final MAX_CONTEXT:Int = 10; private var ctx: WindowContext = null;