title: Which $TERM to use to have both 256 colors and mouse move events in python curses?
body: <p>Currently if I set the TERM environment variable to 'xterm-1003' I can get mouse move events but I get crappy colors and curses.can_change_color() == False</p>
  
  <pre><code>os.environ['TERM'] = 'xterm-1003'
  ...
  curses.mousemask(curses.ALL_MOUSE_EVENTS | curses.REPORT_MOUSE_POSITION)
  ...
  while True:
      event = screen.getch()
      if event == curses.KEY_MOUSE:
          # I get nice events whenever I move the mouse (no click required)
          _, mx, my, _, _ = curses.getmouse()
  </code></pre>
  
  <p>and if I set the TERM env var to 'xterm-256color' I get a nice color palette plus curses.can_change_color() == True, however I do not receive mouse events unless I click a button!</p>
  
  <pre><code>&gt;ls /usr/share/terminfo/x/ 
  </code></pre>
  
  <p>reports</p>
  
  <pre><code>xfce           xterm-256color  xterm-hp      xterm-r5     xterm-xf86-v32   xterm-xfree86
  xterm          xterm-88color   xterm-new     xterm-r6     xterm-xf86-v33   xterm-xi
  xterm-1002     xterm-8bit      xterm-nic     xterm-sco    xterm-xf86-v333  xterms
  xterm-1003     xterm-basic     xterm-noapp   xterm-sun    xterm-xf86-v40
  xterm-16color  xterm-bold      xterm-old     xterm-vt220  xterm-xf86-v43
  xterm-24       xterm-color     xterm-pcolor  xterm-vt52   xterm-xf86-v44
  </code></pre>
  
  <p>None of the ones I tried seem to support both curses.can_change_color() == True and mouse move events. Is there a way I can get both of them via setting an appropriate $TERM value or some other way?</p>
  
  <p>Thank you!</p>