Doesn't work for me on MacOS:
I get "mapfile: command not found"
replies(5):
I get "mapfile: command not found"
I found the 4k fullscreen perf in iTerm2 to be not-great, so I did it again in the kitty (GPU powered) terminal macos app, and it was good.