Example #1
0
        /// <summary>
        /// Clears all consoles from the active stack along with the current active console.
        /// </summary>
        public void Clear()
        {
            consoles.Clear();

            if (activeConsole != null)
            {
                activeConsole.OnFocusLost();
            }

            activeConsole = null;
        }