Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mtm.1
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ Note that if the screen is currently scrolled back
these keys need not be prefixed with the command key.
.Nm
will also scroll to the bottom on user input.
.It Em "k"
Clear the screen and the scrolling history. Scroll to the bottom.
.El
.Pp
Note that these command keys can be changed at compile time,
Expand Down
2 changes: 1 addition & 1 deletion mtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ handlechar(int r, int k) /* Handle a single input character. */
DO(true, VSPLIT, split(n, VERTICAL))
DO(true, DELETE_NODE, deletenode(n))
DO(true, BAILOUT, (void)1)
DO(true, NUKE, wclear(n->s->win))
DO(true, NUKE, wclear(n->s->win); SB)
DO(true, REDRAW, touchwin(stdscr); draw(root); redrawwin(stdscr))
DO(true, SCROLLUP, scrollback(n))
DO(true, SCROLLDOWN, scrollforward(n))
Expand Down