sc0.edit() returns delta(startline, endline) +2 which is what the number of issued newlines is based on. However, for a multi-line entry the cursor position is important as well.
Consider a multiline text entry. With the cursor positioned in the first line the OK/error response is located right beneath the line (as expected). Moving the cursor down will also move the response (when it shouldn't).
Pressing Enter with cursor in 3rd line (current behaviour):
Pressing Enter with cursor in 3rd line (expected behaviour):
sc0.edit() returns delta(startline, endline) +2 which is what the number of issued newlines is based on. However, for a multi-line entry the cursor position is important as well.
Consider a multiline text entry. With the cursor positioned in the first line the OK/error response is located right beneath the line (as expected). Moving the cursor down will also move the response (when it shouldn't).
Pressing Enter with cursor in 3rd line (current behaviour):
Pressing Enter with cursor in 3rd line (expected behaviour):