/// <summary>
 /// Unregisters the given key handler from the reader.  You should only do this if you're planning on overriding the default handlers, and you should do so
 /// with caution.
 /// </summary>
 /// <param name="handler">The handler to unregister</param>
 public void UnregisterHandler(IKeyHandler handler)
 {
     foreach (var key in handler.KeysHandled)
     {
         KeyHandlers.Remove(key);
     }
 }
 /// <summary>
 /// Unregisters the handler for the given key
 /// </summary>
 /// <param name="key">the key to unregister</param>
 /// <returns>true if there was a handler registered and removed, false otherwise</returns>
 public bool UnregisterHandler(ConsoleKey key)
 {
     return(KeyHandlers.Remove(key));
 }