taylorconor / tinytetris

80x23 terminal tetris!
Apache License 2.0
2.99k stars 591 forks source link

what's the meaning of "262176" ? #20

Open zhangzhuang15 opened 2 years ago

zhangzhuang15 commented 2 years ago

I read the code in "frame()" function and find that " attron(262176 | board[i][j] << 8)", I know what attron means, but I don't understand 262176, what's the meaning?

ning2510 commented 1 year ago

In fact, it should be 262144(A_REVERSE), not 262176.

zhangzhuang15 commented 1 year ago

 你好 ,您发给我的邮件我已经收到。