Sending each char is easy, it other keys that is difficult, e.g. return, ctrl c, etc
[{"id":"6a0760d2438c3725","type":"ui_text_input","z":"b9860b4b9de8c8da","name":"","label":"","tooltip":"","group":"2d4fe667.28f8ba","order":12,"width":0,"height":0,"passthru":false,"mode":"text","delay":"100","topic":"topic","sendOnBlur":true,"className":"","topicType":"msg","x":140,"y":700,"wires":[["6554c0432a776f21"]]},{"id":"6554c0432a776f21","type":"change","z":"b9860b4b9de8c8da","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$substring($$.payload, -1)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":320,"y":700,"wires":[["fa71db22acf62d16","ccd50e05ab6af6e8"]]},{"id":"fa71db22acf62d16","type":"ui_text","z":"b9860b4b9de8c8da","group":"2d4fe667.28f8ba","order":13,"width":0,"height":0,"name":"","label":"text","format":"{{msg.payload}}","layout":"row-spread","className":"","style":false,"font":"","fontSize":16,"color":"#000000","x":510,"y":720,"wires":[]},{"id":"ccd50e05ab6af6e8","type":"debug","z":"b9860b4b9de8c8da","name":"debug 326","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":470,"y":660,"wires":[]},{"id":"2d4fe667.28f8ba","type":"ui_group","name":"demo","tab":"1caa8458.b17814","order":2,"disp":true,"width":"18","collapse":false,"className":""},{"id":"1caa8458.b17814","type":"ui_tab","name":"Demo","icon":"dashboard","order":2,"disabled":false,"hidden":false}]