Skip to content

Cmd-K clears the terminal #46

wants to merge 1 commit into from

2 participants

fjakobs commented Sep 20, 2012

When using tty.js I constantly miss the "clear terminal" feature from the OSX This PR add this feature and maps it to Cmd-K.


I'm also interested in this feature. The implementation in this PR seems to prevent using k without control keys though (for example, to type ack in the terminal). Here's an alternate approach that allows regular k's while still supporting ctrl-k clearing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.