How can I partially clear my terminal scrollback?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 How Can I Partially Clear My Terminal Scrollback?
00:17 Answer 1 Score 0
00:27 Accepted Answer Score 123
00:44 Thank you
--
Full question
https://superuser.com/questions/576410/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#terminal #iterm2 #iterm
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 How Can I Partially Clear My Terminal Scrollback?
00:17 Answer 1 Score 0
00:27 Accepted Answer Score 123
00:44 Thank you
--
Full question
https://superuser.com/questions/576410/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#terminal #iterm2 #iterm
#avk47
ACCEPTED ANSWER
Score 123
Not sure about partially, but you can fully clear your scrollback with Cmd+K. Control+L will only clear the screen, not the scrollback content/history/buffer.
If you want the partial scrollback badly enough, this would probably be the place to implement it.
ANSWER 2
Score 0
This is not possible, but you can clear just the screen by pressing Control+L.