Browse Source

The Ctrl~C make crlf. Fix issue #84

git-svn-id: https://klish.googlecode.com/svn/trunk@527 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 12 years ago
parent
commit
b1f903239e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tinyrl/tinyrl.c

+ 1 - 0
tinyrl/tinyrl.c

@@ -136,6 +136,7 @@ static bool_t tinyrl_key_default(tinyrl_t * this, int key)
 /*-------------------------------------------------------- */
 static bool_t tinyrl_key_interrupt(tinyrl_t * this, int key)
 {
+	tinyrl_crlf(this);
 	tinyrl_delete_text(this, 0, this->end);
 	this->done = BOOL_TRUE;
 	/* keep the compiler happy */