Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
b1f903239e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 */