Unable to use the curses module in Pycharm even after successful installation of it in terminal. Also installed windows-curses package in Pycharm. import curses
code is greyed out. When I run it in the pycharm terminal, none of the code is executed. Appreciate any help as I'm new to programming! Thanks!
import curses
from curses import wrapper
def main(stdscr):
stdscr.clear()
stdscr.addstr('Hello World!')
stdscr.getch()
stdscr.refresh()
wrapper(main)