From fedda1bdd4dde2e2750a67e740c3ab64b436ae8b Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 12 Apr 2012 18:05:05 +0100 Subject: Note the limited range of mouse line/column number --- man/termkey_interpret_mouse.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/termkey_interpret_mouse.3 b/man/termkey_interpret_mouse.3 index 91a600d..dbc0c74 100644 --- a/man/termkey_interpret_mouse.3 +++ b/man/termkey_interpret_mouse.3 @@ -30,7 +30,7 @@ the mouse was moved while holding a button; \fIbutton\fP will contain its number .B TERMKEY_MOUSE_RELEASE a mouse button was released, or the mouse was moved while no button was pressed. If known, \fIbutton\fP will contain the number of the button released. Not all terminals can report this, so it may be 0 instead. .PP -The \fIline\fP and \fIcol\fP variables will be filled in with the mouse position, indexed from 1. +The \fIline\fP and \fIcol\fP variables will be filled in with the mouse position, indexed from 1. Note that due to the limited number of bytes in the \fBTermKeyKey\fP structure, the line and column numbers are limited to 2047 and 4095 respectively. .SH "RETURN VALUE" If passed a \fIkey\fP event of the type \fBTERMKEY_TYPE_MOUSE\fP, this function will return \fBTERMKEY_RES_KEY\fP and will affect the variables whose pointers were passed in, as described above. .PP -- cgit v1.2.3-70-g09d2