tools/hexnet: Add instructions for setting up TTY

Soda
BodgeMaster 2022-10-20 04:20:44 +02:00
parent 8dea1f2d31
commit ee0ebb273c
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ int main(int argc, char* argv[]) {
std::vector<CLI::Argument> arguments;
arguments.push_back(CLI::Argument("PORT", "the port to lsiten on (or connect to)"));
CLI::ArgumentsParser cliParser = CLI::ArgumentsParser(argc, argv, flags, options, arguments, "Arbitrary TCP/UDP connections in hex format");
CLI::ArgumentsParser cliParser = CLI::ArgumentsParser(argc, argv, flags, options, arguments, "Arbitrary TCP/UDP connections in hex format", "Note: Make sure your terminal is set up so it doesn't buffer input and, if desired, disable input echoing.\n\tSomething like `stty -echo cbreak` should do but it will also disable some key combinations.");
if (cliParser.getFlag("help").value) {
std::cout << cliParser.getUsage() << std::endl;