Diff between 9a77f93f6fb1d1fc9be314c1d91704e8cffc60d3 and bf2b9133a7477e7b8100a9c3a384f2b3144f9839
Changed Files
| File | Additions | Deletions | Status |
| client/main.c | +5 | -0 | modified |
Full Patch
diff --git a/client/main.c b/client/main.c
index ea13165..4275cf0 100644
--- a/client/main.c
+++ b/client/main.c
@@ -353,6 +353,11 @@ static gboolean signal_handler(GIOChannel *channel, GIOCondition condition,
switch (si.ssi_signo) {
case SIGINT:
+ rl_replace_line("", 0);
+ rl_crlf();
+ rl_on_new_line();
+ rl_redisplay();
+ break;
case SIGTERM:
if (__terminated == 0) {
rl_replace_line("", 0);