Fix the white line flashing on top of iTerm2 in fullscreen
In dark mode, seems it does not happen, but yesterday I changed back to light mode, it started. I remember there is a discussion about this , so here is a note:
Turn on Prefs > Advanced > Work around Big Sur bug where a white line flashes at the top of the screen in full screen mode and then restart the app.
Hope it helps.