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
--------------------------------------------------
Track title: CC F Haydns String Quartet No 53 in D
--
Chapters
00:00 How Can I Partially Clear My Terminal Scrollback?
00:22 Accepted Answer Score 123
00:46 Answer 2 Score 0
00:59 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
--------------------------------------------------
Track title: CC F Haydns String Quartet No 53 in D
--
Chapters
00:00 How Can I Partially Clear My Terminal Scrollback?
00:22 Accepted Answer Score 123
00:46 Answer 2 Score 0
00:59 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.