Scrolling in Terminal when program is opened in MacOS Sierra

You can scroll the screen while holding fn or Shift ⇧ key.

You can disable this completly by unthicking:

Terminal PreferencesProfilesKeyboardScroll Alternate Screen.

enter image description here