Hey Ian,
So that we can try to replicate this issue, have you done anything else to your OS since booting into Raspbian for the first time? Changed any settings, etc?
Thanks for that Ian, if you change the font size back to regular (or reflash your NOOBs card and refrain from changing it) do you get the same m/n key swap issue?
You need to change your keyboard settings to be the proper layout as Clinton recommended. The default is GB and you need US. US-international is different still and will may different buttons.
In fact, you have to do this twice - once for the console and once for the GUI. This is why you are only having a problem in the terminal.
If you change it by editing /etc/default/keyboard
To edit the mapping, you have to change it in the /etc/default/keyboard config file.Use sudo to obtain temporary write permissions on the file.
sudo nano /etc/default/keyboard
Change the XKBLAYOUT=“gb” to whatever type you need. Mine was XKBLAYOUT=“us”.
The “m” key will be there somewhere, you just will need to poke around to find it. Also, you will need to reboot once the changes are made or they won’t take effect in both the GUI and the Terminal.