Commit 82357c0a0755cd982d15980b81fd00d74443fd18

Stefan Sperling 2018-08-01T11:55:12

support window resizing in tog diff view

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tog/tog.c b/tog/tog.c
index 56d9f2e..3d4010b 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1159,6 +1159,9 @@ show_diff_view(struct tog_view *view, struct got_object *obj1,
 						break;
 				}
 				break;
+			case KEY_RESIZE:
+				view_resize(view);
+				break;
 			default:
 				break;
 		}