How to get bi-directional terminal

Any character you type is sent instantly via the serial adapter. Except for when the send_on_enter filter is active.

This was already discussed at e.g. Send data to Serial monitor in Arduino.