I JUST WASTED AN ENTIRE DAY BEFCCAUUSE I THOUGHT THE 5 WAS AN S WTFFFFFFFFFFFFFFFFFFFF

This commit is contained in:
xfnw 2020-07-25 00:51:41 +00:00
parent c871a5338a
commit 4ecd2997a7

8
nboard
View file

@ -46,16 +46,16 @@ def main(stdscr):
vx += 1 vx += 1
nl = vx nl = vx
if k == '[1;5A' or k == 'kUPS': if k == '[1;5A' or k == 'kUP5':
vy += 0-(height//2) vy += 0-(height//2)
nl = vx nl = vx
if k == '[1;5B' or k == 'kDNS': if k == '[1;5B' or k == 'kDN5':
vy += height//2 vy += height//2
nl = vx nl = vx
if k == '[1;5D' or k == 'kLFTS': if k == '[1;5D' or k == 'kLFT5':
vx += 0-(width//2) vx += 0-(width//2)
nl = vx nl = vx
if k == '[1;5C' or k == 'kRITS': if k == '[1;5C' or k == 'kRIT5':
vx += width//2 vx += width//2
nl = vx nl = vx