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.
From Rob Swindell to GitLab note in main/sbbs on Fri Sep 23 13:25:54 2022