Specifically, you need to copy the tm_interactive_input.dylib file linked to by Phrogz in the following path:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm_interactive_input.dylib
Keep in mind that it's possible any TextMate updates will overwrite or delete this file.