IrcShark.Extensions.Terminal.History.Accept C# (CSharp) Méthode

Accept() public méthode

Overrides the lastly added history item.
public Accept ( string s ) : void
s string The new value to add.
Résultat void
        public void Accept(string s)
        {
            int t = head-1;
            if (t < 0)
                t = history.Length-1;

            history[t] = s;
        }