samtay / tetris

A terminal interface for Tetris
Other
871 stars 40 forks source link

Dashed block #23

Closed cdupont closed 1 year ago

cdupont commented 1 year ago

Hello, very nice realization. Out of curiosity, how did you do the "dashed" pieces? image

It seems to be with attributes, but I'm not sure.

samtay commented 1 year ago

These are just unicode characters U+25E4, U+25E2. If you are looking for the code, they are set in the CLI opts here. They're optional because some terminal fonts may render them at widths that would screw up the grid.

cdupont commented 1 year ago

Thanks!