Add custom emulation type
Im trying to achieve that when people connect to my board through fTelnet that only Ymodem-G is available for download. And Zmodem is hidden.
To achieve this I tried setting the emulation type in the configuration. Unfortunately the emulation can be set, but it isnt forwarded to the client.
If would be awesome if we could define our own emulation type in the configuration (which we can) and that the defined emulation would be used here:
Update: this is the correct place:
https://github.com/rickparrish/fTelnet/blob/47aa268d2a4e52b58c6561c00d584aa1db9481e7/source/connections/TelnetConnection.ts#L41
https://github.com/rickparrish/fTelnet/blob/47aa268d2a4e52b58c6561c00d584aa1db9481e7/source/connections/TelnetConnection.ts#L133