Commit e3d2a5c6a3bb4c206467d23cc6857ecabc18c05a

Stefan Sperling 2019-06-26T09:32:39

Bind reload in 'tog log' to Ctrl+l

diff --git a/tog/tog.1 b/tog/tog.1
index 8911577..56f9820 100644
--- a/tog/tog.1
+++ b/tog/tog.1
@@ -114,7 +114,7 @@ Regular expression syntax is documented in
 Find the next commit which matches the current search pattern.
 .It Cm N
 Find the previous commit which matches the current search pattern.
-.It Cm r
+.It Cm r, Ctrl+l
 Reload the log view with new commits found in the repository.
 .El
 .Pp
diff --git a/tog/tog.c b/tog/tog.c
index 2c60e90..635145a 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -2049,6 +2049,7 @@ input_log_view(struct tog_view **new_view, struct tog_view **dead_view,
 		}
 		break;
 	case 'r':
+	case CTRL('l'):
 		err = stop_log_thread(s);
 		if (err)
 			return err;