mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
I have a script which opens a window and add lines to it.

it is being created using:
window -als -t16,23,31,41,58,69,82 +bnstx


It is working fine, until the nuber of lines starting to grow.

Then, the window jumps to the position of the selected line. For example, I'm watching line 115, and the selected line is line 2, then it jumps to the second line.

This is annoying, and I tought it happens because of a window -b command that is used after a line is being added (I use window -b because the lines exceeds the length of the window), but even if I disabled the window -b it happened.

Can anyone tell me how can I disable this annoying problem?

Other commands that are being used are:
aline and rline

Last edited by saragani; 14/07/03 04:43 PM.
Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
It seems that the rline is the command which cause this.

Anyone know why it happens, and how can I solve this problem?

Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
OK, I think I found a solution. I just hope it will work.


Instead of replacing a line with rline, I'm going to delete the line, and then add another one instead.

Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
It didn't work.

The same thing happened again.

I think that when it deletes the line it makes it jump to the selected line (I guess that the rline works the same as deleting the line, and adding another line instead).


Does anyone have an idea how to solve this???
It is very annoying!!!!!!!


Link Copied to Clipboard