I am making a game using curses on python. My code is:
from curses import wrapper
import curses
def main(stdscr):
score = 0
stdscr.erase()
text = '''
╔╗─╔╦═══╦╗──╔╗──╔═══╗╔╗
║║─║║╔══╣║──║║──║╔═╗║║║
║╚═╝║╚══╣║──║║──║║─║║║║
║╔═╗║╔══╣║─╔╣║─╔╣║─║║╚╝
║║─║║╚══╣╚═╝║╚═╝║╚═╝║╔╗
╚╝─╚╩═══╩═══╩═══╩═══╝╚╝
'''
stdscr.addstr(10, 10,text, curses.A_BOLD)
score += 1
stdscr.refresh()
stdscr.getkey()
wrapper(main)
The y co-ordinate seem to be working fine. However the x co-ordinate always defaults to 0 and text is pushed to the left of the screen. Is this a bug or am I missing something?