[ot][spam][crazy][crazy][spam]

Undiscussed Horrific Abuse, One Victim of Many gmkarl at gmail.com
Sun May 15 09:31:28 PDT 2022


#include <stdio.h>

On Sun, May 15, 2022, 12:26 PM Undiscussed Horrific Abuse, One Victim of
Many <gmkarl at gmail.com> wrote:

>
>
> On Sun, May 15, 2022, 12:23 PM Undiscussed Horrific Abuse, One Victim of
> Many <gmkarl at gmail.com> wrote:
>
>> https://stackoverflow.com/a/5970472/129550
>> mouse reporting/tracking
>> "\e[?1000h"
>
>

int main()
{

>
> "\e[?1006h"
>
  printf("\e[?1006h");

>
> stdin
>
> 00000000  1b 5b 3c 30 3b 33 38 3b  33 33 4d 1b 5b 3c 30 3b
> |.[<0;38;33M.[<0;|
> 00000010  33 38 3b 33 33 6d 1b 5b  3c 30 3b 34 34 3b 33 30
> |38;33m.[<0;44;30|
>
> "\e[<0;%d;%dM" , x, y
>
  int x,y;
  scanf("\e[<0;%d;%dM", &x, &y);

  printf("\e[?1000l");
  printf("%d %d\n", x, y);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/html
Size: 2860 bytes
Desc: not available
URL: <https://lists.cpunks.org/pipermail/cypherpunks/attachments/20220515/a5f13876/attachment.txt>


More information about the cypherpunks mailing list