Rebex Terminal API makes it possible to process incoming terminal data,
detect specific built-in or custom-defined events, and grab data from the terminal screen. Check out Scripting and Screen scraping for details, or try the TerminalScriptingWinForm sample.
However, from the wording of your question, it seems like you actually want to intercept some input data and prevent it from being displayed on the terminal. Unfortunately, that is not really a supported scenario. It might be possible to achieve something like that using a
VirtualTerminal (which is basically a UI-less
TerminalControl) to receive the data, and a separate
TerminalControl to display parts of the received data, but I'm afraid that making this operational would still require a substantial amount of work.