private void OnKeyInputReceived(ConsoleKeyInfo info) { ConsoleCharacter?prototype = this.Value.Length == 0 ? (ConsoleCharacter?)null : this.Value[this.Value.Length - 1]; textState.RegisterKeyPress(info, prototype); blinkState = true; Application.ChangeInterval(blinkTimerHandle, BlinkInterval); }
private void OnKeyInputReceived(ConsoleKeyInfo info) { textState.RegisterKeyPress(info); blinkState = true; blinkTimerHandle.Change(BlinkInterval, BlinkInterval); }