| View previous topic :: View next topic |
| Author |
Message |
reality3k
Joined: 11 Feb 2009 Posts: 46
|
Posted: Tue Dec 07, 2010 11:08 pm Post subject: Add argument: #line gag {numlines} |
|
|
Having an argument to #line gag would be great.
#line gag {numlines} Gag the current line and the following <numlines-1> lines.
If you put negative numbers, it could gag lines prior to the current line. It seems like this might be nontrivial though, so I could live with not accepting negative numbers.  |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Wed Dec 08, 2010 8:42 am Post subject: |
|
|
Negative numbers are difficult as there are no VT100 commands for removing lines.
I'll probably add an option to log multiple lines while at it. |
|
| Back to top |
|
 |
|