about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-23 14:53:19 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-23 14:53:19 -0800
commit694e4e5f969e6816df8f85336c89296ad21f43b8 (patch)
tree7981839735359f57fa74cf66a8a38bfac41aad41
parent7d96a886d826388efb206ebb1c8866d65d6500bb (diff)
downloadteliva-694e4e5f969e6816df8f85336c89296ad21f43b8.tar.gz
chess: fix inconsistency in light piece color
-rw-r--r--chesstv.tlv4
1 files changed, 2 insertions, 2 deletions
diff --git a/chesstv.tlv b/chesstv.tlv
index 2f8ea5f..be23e33 100644
--- a/chesstv.tlv
+++ b/chesstv.tlv
@@ -160,11 +160,11 @@ function main()
   -- black piece on dark square
   curses.init_pair(4, 0, 3)
   -- white piece on last-moved light square
-  curses.init_pair(5, -1, 10)
+  curses.init_pair(5, 1, 10)
   -- black piece on last-moved light square
   curses.init_pair(6, 0, 10)
   -- white piece on last-moved dark square
-  curses.init_pair(7, -1, 2)
+  curses.init_pair(7, 1, 2)
   -- black piece on last-moved dark square
   curses.init_pair(8, 0, 2)
   local request = {