#16 where is cursor in cmdline

open
nobody
None
5
2007-01-10
2007-01-10
Anonymous
No

in THE 3.3B1, the cmdline "scrolls" right. That's great. That's what I asked for. If one presses CURR enough, the column number shown in the information line will increase correctly while the cursor itself will hit the right side of the window and jump to the center of the displayed shifted cmdline. That's good. But, how can one determine where in the cmdline is the cursor? EXTRACT CURSOR won't. EXTRACT COLUMN won't. If one presses CURL enough to get the cursor to position 1 of the displayed cmdline, EXTRACT CURSOR will give CURSOR.2 = 8 even though the cursor is actually in position 69 (I have a wide PSCREEN) of the cmdline contents.

Solution: Perhaps CURSOR values could be redefined when the cursor is in the cmdline so that the column number is the column number, while the row number remains -1. Also, one would need to consider CURSOR CMDLINE <a really big number>. I don't think this is correctly supported now.

Discussion