private void HandleCharacter(ConsoleKeyInfo c) { if (c.IsControlActive() && this.consoleKeyCtrlMap.ContainsKey(c.Key)) { this.consoleKeyCtrlMap[c.Key](c); } else { this.useSuggestionCache = false; this.consoleBuffer.PutChar(c.KeyChar); } }
private void HandleCharacter(ConsoleKeyInfo c) { if (c.IsControlActive() && this.consoleKeyCtrlMap.ContainsKey(c.Key)) { this.consoleKeyCtrlMap[c.Key](c); } else { this.useSuggestionCache = false; this.consoleBuffer.PutChar(c.KeyChar); } }