Mono.Terminal.Button.ProcessKey C# (CSharp) Method

ProcessKey() public method

public ProcessKey ( int c ) : bool
c int
return bool
        public override bool ProcessKey(int c)
        {
            if (c == '\n' || c == ' ' || Char.ToUpper ((char)c) == hot_key){
                if (Clicked != null)
                    Clicked (this, EventArgs.Empty);
                return true;
            }
            return false;
        }