How to override MacroBrowser fields to change input to textarea?

Hi, I am trying to turn the input field of the MacroBrowser into a textarea so that I can input multiple lines for my parameter. I know I have to use AJS.MacroBrowser.setMacroJsOverride() and override the "fields" function, but I don’t know how to carry on from there.