From ee0ebb273caf564b28c94853f9cfd48ef75a5643 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Thu, 20 Oct 2022 04:20:44 +0200 Subject: [PATCH] tools/hexnet: Add instructions for setting up TTY --- src/tools/hexnet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/hexnet.cpp b/src/tools/hexnet.cpp index 5fd088c..6e3bf13 100644 --- a/src/tools/hexnet.cpp +++ b/src/tools/hexnet.cpp @@ -64,7 +64,7 @@ int main(int argc, char* argv[]) { std::vector 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;