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.
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, September 23, 2022 13:25:54