From 96aef54e6cbd341139ce328c15e93ae647ae39d0 Mon Sep 17 00:00:00 2001 From: GrenderG Date: Tue, 11 Apr 2017 01:42:56 +0200 Subject: [PATCH] Added an option to SIGTSTP tte. --- hola | 0 tte.c | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 hola diff --git a/hola b/hola new file mode 100644 index 0000000..e69de29 diff --git a/tte.c b/tte.c index 3ed3bbf..b779a52 100644 --- a/tte.c +++ b/tte.c @@ -1551,6 +1551,9 @@ void editorProcessKeypress() { case CTRL_KEY('v'): editorPaste(); break; + case CTRL_KEY('w'): + consoleBufferClose(); + kill(0, SIGTSTP); case ARROW_UP: case ARROW_DOWN: case ARROW_LEFT: