screen._stdin.WriteConsoleInput([event])else:# Curses doesn't like no value in some cases - use a dummy button# click which we don't use instead.bstate = curses.BUTTON4_CLICKEDifbutton & MouseEvent.LEFT_CLICK !=0: bstate |= curses.BUTTON1_CLICKEDifbutton & MouseEvent.RIGHT_CLICK !=...