MCPcopy Create free account
hub / github.com/daniele77/cli / Keypressed

Method Keypressed

include/cli/detail/commandprocessor.h:80–84  ·  view source on GitHub ↗

* @brief Handle a keypress event. * * @param k The key that was pressed. */

Source from the content-addressed store, hash-verified

78 * @param k The key that was pressed.
79 */
80 void Keypressed(std::pair<KeyType, char> k)
81 {
82 const std::pair<Symbol,std::string> s = terminal.Keypressed(k);
83 NewCommand(s);
84 }
85
86 /**
87 * @brief Process a new command.

Callers 1

CommandProcessorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected