예제 #1
0
        public TerminalController(ITerminalBoxProvider terminalBoxProvider)
        {
            mainWindow = terminalBoxProvider;

            mainWindow.GetTextBox().PreviewKeyDown += (sender, e) =>
            {
                HandleInput(e);
            };

            historyCommand = new HistoryCommand();
            cmdReader      = new CmdReader();
            cmdReader.Register(this);

            terminalContentMgr = new TerminalContentMgr(this);
            tabHandler         = new TabHandler(this);
        }
예제 #2
0
 public TabHandler(TerminalContentMgr terminal)
 {
     this.terminal = terminal;
 }