title: Emacs windmove key in Mac
body: <p>I set Alt as the windmove key to switch between frames in Emacs under Mac. </p>
  
  <pre><code>(windmove-default-keybindings 'meta)
  </code></pre>
  
  <p>This works fine for the GUI version Emacs (the one with the widgets and other windows decorations), but not if I start emacs with <code>emacs -nw</code> from a Mac Terminal.app. For example, if I split window first with <code>C-x 2</code>, and press <code>Alt + &lt;Down&gt;</code>, then Emacs reports </p>
  
  <pre><code> ESC + &lt;Down&gt; is undefined. 
  </code></pre>
  
  <p>Can anyone help?</p>
  
  <p>Emacs version is 24.4 installed from brew install.</p>