cursedeyes, like Xeyes, but for terminal

Опубликовано: 04 Май 2016
на канале: Archived Yu-Jie Lin
401
7

cursedeyes [1] is curses-based version of Xeyes. It stares at the cursor in terminal.

You will need a terminal capability XM, which is supported by xterm-1003, for mouse position reporting. If you run in a terminal without it, the eyes won't open.

I was thinking about polling X cursor, but I realized that I couldn't calculate the positions of eyes in X screen.

$$$

This was originally uploaded to Dailymotion on 2016-03-14.

$$$

Version 0.1.0 (2016-03-14)
In C with ncurses
By Yu-Jie Lin (me)
Public domain or UNLICENSE

[1]: https://bitbucket.org/lbarchive/curse...