I see you're still using ungetstr() here still, for the address. If you want to allow a user to enter a string, but provide them with a default value that they can edit, you can do that with the K_EDIT mode flag and console.getstr(). ungetstr() should really only be used when there's not a more appropriate solution to the problem.
--- SBBSecho 3.15-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Sep 23 13:25:54 2022