This fix ctrl-c combination working only once.
---
src/shared/shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/shell.c b/src/shared/shell.c
index 6cdea1c7e..f1b85f202 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -623,7 +623,7 @@ static bool signal_read(struct io *io, void *user_data)
rl_crlf();
rl_on_new_line();
rl_redisplay();
- break;
+ return true;
}
/*
--
2.14.3
On Thursday, 25 January 2018 13:03:11 CET Szymon Janc wrote:
> This fix ctrl-c combination working only once.
> ---
> src/shared/shell.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/shared/shell.c b/src/shared/shell.c
> index 6cdea1c7e..f1b85f202 100644
> --- a/src/shared/shell.c
> +++ b/src/shared/shell.c
> @@ -623,7 +623,7 @@ static bool signal_read(struct io *io, void *user_data)
> rl_crlf();
> rl_on_new_line();
> rl_redisplay();
> - break;
> + return true;
> }
>
> /*
Applied.
--
pozdrawiam
Szymon Janc