about summary refs log tree commit diff stats
path: root/chesstv.tlv
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 /chesstv.tlv
parent7d96a886d826388efb206ebb1c8866d65d6500bb (diff)
downloadteliva-694e4e5f969e6816df8f85336c89296ad21f43b8.tar.gz
chess: fix inconsistency in light piece color
Diffstat (limited to 'chesstv.tlv')
-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 = {
139'>139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249