Actions
Bug #3564
closed/did -i doesn't insert the text to the correct Nth line
Start date:
07/10/2017
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Consider my example below:
Script:
dialog example {
title "Example"
size -1 -1 412 248
edit "", 4, 130 20 276 121, left, multi, vsbar
button "Done", 3, 110 150 70 30, cancel
}
open it by doing:
/dialog -m example example
while the dialog is still open type:
//did -i example 4 1 first | did -i example 4 2 second | did -i example 4 3 third | did -i example 4 4 fourth
then insert something on the first line by doing:
//did -i example 4 1 insert to first line
notice that it inserted the text on the last line instead of the first.
Updated by Per Amundsen over 7 years ago
- Category set to Scripting
- Status changed from New to Resolved
- Assignee set to Per Amundsen
Thanks, fixed for next beta.
Actions