Loading…

Joe Steinbring

telnet.jws.dev changelog

A portrait in the banner

Added

The welcome screen now draws my portrait from the site’s icon: greyscale half blocks on a modern terminal, ASCII shading on anything else.

The first screen has a picture on it now. The server fetches the site’s icon from the same address as the API, decodes the PNG itself (Node’s zlib does the decompression, so there’s still no dependency), and draws it in greyscale: Unicode half blocks with the 24-step xterm grey ramp on a modern terminal, which gives roughly square pixels, and ASCII shading everywhere else. The conversion mixes the channels the way a black-and-white photographer’s green filter does, so the red circle behind the portrait darkens into a frame instead of competing with the face.

The same change fixed clients like PuTTY that send a carriage return and a line feed when you press Enter, which used to count as two presses.

All changes to telnet.jws.dev