Beispiel #1
0
        void IInputStream.ReadChar(Action <char> callback)
        {
            Dispatch(() =>
            {
                mainWindow.ReadChar(ch =>
                {
                    ResetStatusHeight();
                    currStatusHeight = 0;

                    callback(ch);
                });
            });
        }
Beispiel #2
0
        public void ReadChar(Action <char> callback)
        {
            debuggerService.BeginAwaitingInput();

            mainWindow.ReadChar(ch =>
            {
                ResetStatusHeight();
                currStatusHeight = 0;

                callback(ch);
                debuggerService.EndAwaitingInput();
            });
        }