[ot][spam][crazy][is it appropriate to direct disruption towards things that have been heavily disrupted?]

Undiscussed Horrific Abuse, One Victim of Many gmkarl at gmail.com
Wed Jun 22 06:58:10 PDT 2022


the tutorial says this:

Your application can determine the size of the screen by using the
curses.LINES and curses.COLS variables to obtain the y and x sizes.
Legal coordinates will then extend from (0,0) to (curses.LINES - 1,
curses.COLS - 1).

we'll also need the character aspect ratio to draw things that look right.
the aspect ratio of a text terminal is usually about 1/2 . the same
syscall that gets the lines and cols actually reports this information
(in the form of pixel count), so i'll probably store it as separate
width and height aspect variables


More information about the cypherpunks mailing list