When using /did -a on a box control in a dialog, it does not append, it simply replaces/overwrites.
This is inconsistent with how -a works for others control.
The help file does not describe this difference and only documents -a as 'adding line of text at the end'.
Not an annoying bug, not preventing functionality (easy workaround is to use did -a name $did().text $+ newtext) and probably here since its implementation, so no fix required, but the help file should definitely be talking about this difference.
dialog testbox {
size -1 -1 100 100
box "text", 1, 5 5 90 90
}
alias testbox {
dialog -m testbox testbox
did -a testbox 1 text2
echo -ag $did(testbox, 1).text
}
/testbox