When pressing the "send" button after entering text using the native input field (above the keyboard), it appends a newline character (\n), which many cli programs interpret as "enter".
However, real keyboard sends a carriage return (\r). Some programs expect this character, and either ignore the \n or interpret it as a soft enter.
Is there a reason \n was chosen over \r? It makes more sense to emulate pressing the enter key after the input.