Overwrite old stale letters on xmodem filename input

When entering a file name, eg. 'test' it whould output the following
with 2 stale letters of the former input string:

[14:41:58.987] Send file with XMODEM
[14:42:08.015] Sending file 'test'st
[14:42:08.015] Press any key to abort transfer

To avoid this we simply overwrite the 2 stale letters with whitespaces.
This commit is contained in:
Martin Lund 2023-09-16 14:50:41 +02:00
parent 93e49ab5a2
commit a42f3f78d1