Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Question for Rex

May
13,035
174
Can a key-handler plugin determine the offset, in rows, of the current cursor position from the beginning of the prompt? (... which might be positive if (1) the prompt were multi-line, or (2) if a partial command has wrapped to another row.)

As I see it, KEYINFO::nHomeRow describes the beginning of the command line. So an equivalent question might be if a key-handler can determine how many rows the prompt occupies.

Thanks!
 
Back
Top
[FOX] Ultimate Translator
Translate