Rline » History » Version 1
Per Amundsen, 08/03/2014 10:55 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.5_ |
|---|---|---|---|
| 2 | |||
| 3 | */rline [-ahsl] [c] <@name> <N> <text>* |
||
| 4 | |||
| 5 | Replaces the N'th line in a custom @window with a new line. |
||
| 6 | |||
| 7 | *Switches* |
||
| 8 | |||
| 9 | -a - TODO |
||
| 10 | -h - TODO |
||
| 11 | -s - TODO |
||
| 12 | -l - TODO |
||
| 13 | |||
| 14 | *Parameter* |
||
| 15 | |||
| 16 | <@name> - Name of the custom window. |
||
| 17 | <N> - The line to change. |
||
| 18 | <text> - Text to insert. |
||
| 19 | |||
| 20 | *Example* |
||
| 21 | |||
| 22 | <pre> |
||
| 23 | alias example { |
||
| 24 | ;Open a custom window. |
||
| 25 | /window -de @Foo |
||
| 26 | |||
| 27 | ;Add a line with the text "Line A" |
||
| 28 | /aline @Foo Line A |
||
| 29 | |||
| 30 | ;Add a line with the text "Line B" |
||
| 31 | /aline @Foo Line B |
||
| 32 | |||
| 33 | ;Add a line with the text "Line C" |
||
| 34 | /aline @Foo Line C |
||
| 35 | |||
| 36 | ;Change the text of the second line to "Line D" |
||
| 37 | /dline @Foo 2 Line D |
||
| 38 | } |
||
| 39 | |||
| 40 | </pre> |