How to Get My Minecraft To Work On My Mac?

OK, so i just got mc for my macbook pro and i clicked a button to place a block, it worked but now when i try to click/dig up a block the cheat menu pops up ( /___________ < cheat thing ) so how do i fix it?! Please answer soon thank you! ~fellow Minecrafter!

Just go in to your keybidings in the options menu and change the "cheat thing" binding to the enter key and the right mouse button to the dig block keybinding