File tree Expand file tree Collapse file tree 4 files changed +35
-118
lines changed Expand file tree Collapse file tree 4 files changed +35
-118
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ impl Gitui {
152152
153153 #[ cfg( test) ]
154154 fn update_async ( & mut self , event : crate :: AsyncNotification ) {
155+ dbg ! ( event) ;
155156 self . app . update_async ( event) . unwrap ( ) ;
156157 }
157158
@@ -238,7 +239,7 @@ mod tests {
238239 . unwrap ( ) ;
239240
240241 let mut terminal =
241- Terminal :: new ( TestBackend :: new ( 120 , 40 ) ) . unwrap ( ) ;
242+ Terminal :: new ( TestBackend :: new ( 100 , 12 ) ) . unwrap ( ) ;
242243
243244 gitui. draw ( & mut terminal) . unwrap ( ) ;
244245
Original file line number Diff line number Diff line change @@ -4,42 +4,14 @@ expression: terminal.backend()
44snapshot_kind : text
55-- -
66" Status [1] | Log [2] | Files [3] | Stashing [4] | Stashes [5][TEMP_FILE] "
7- " ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── "
8- " ┌Unstaged Changes──────────────────────────────────────────┐┌Diff: ────────────────────────────────────────────────────┐"
9- " │Loading ... ││ │"
10- " │ ││ │"
11- " │ ││ │"
12- " │ ││ │"
13- " │ ││ │"
14- " │ ││ │"
15- " │ ││ │"
16- " │ ││ │"
17- " │ ││ │"
18- " │ ││ │"
19- " │ ││ │"
20- " │ ││ │"
21- " │ ││ │"
22- " │ ││ │"
23- " │ ││ │"
24- " │ ││ │"
25- " │ ││ │"
26- " │ ││ │"
27- " │ ││ │"
28- " │ ││ │"
29- " └──────────────────────────────────────────────────{master}┘│ │"
30- " ┌Staged Changes────────────────────────────────────────────┐│ │"
31- " │Loading ... ││ │"
32- " │ ││ │"
33- " │ ││ │"
34- " │ ││ │"
35- " │ ││ │"
36- " │ ││ │"
37- " │ ││ │"
38- " │ ││ │"
39- " │ ││ │"
40- " │ ││ │"
41- " │ ││ │"
42- " │ ││ │"
43- " │ ││ │"
44- " └──────────────────────────────────────────────────────────┘└──────────────────────────────────────────────────────────┘"
45- " "
7+ " ────────────────────────────────────────────────────────────────────────────────────────────────── "
8+ " ┌Unstaged Changes────────────────────────────────┐┌Diff: ──────────────────────────────────────────┐"
9+ " │Loading ... ││ │"
10+ " │ ││ │"
11+ " │ ││ │"
12+ " └────────────────────────────────────────{master}┘│ │"
13+ " ┌Staged Changes──────────────────────────────────┐│ │"
14+ " │Loading ... ││ │"
15+ " │ ││ │"
16+ " └────────────────────────────────────────────────┘└────────────────────────────────────────────────┘"
17+ " "
Original file line number Diff line number Diff line change @@ -4,42 +4,14 @@ expression: terminal.backend()
44snapshot_kind : text
55-- -
66" Status [1] | Log [2] | Files [3] | Stashing [4] | Stashes [5][TEMP_FILE] "
7- " ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── "
8- " ┌Unstaged Changes──────────────────────────────────────────┐┌Diff: ────────────────────────────────────────────────────┐"
9- " │ ││ │"
10- " │ ││ │"
11- " │ ││ │"
12- " │ ││ │"
13- " │ ││ │"
14- " │ ││ │"
15- " │ ││ │"
16- " │ ││ │"
17- " │ ││ │"
18- " │ ││ │"
19- " │ ││ │"
20- " │ ││ │"
21- " │ ││ │"
22- " │ ││ │"
23- " │ ││ │"
24- " │ ││ │"
25- " │ ││ │"
26- " │ ││ │"
27- " │ ││ │"
28- " │ ││ │"
29- " └──────────────────────────────────────────────────{master}┘│ │"
30- " ┌Staged Changes────────────────────────────────────────────┐│ │"
31- " │ ││ │"
32- " │ ││ │"
33- " │ ││ │"
34- " │ ││ │"
35- " │ ││ │"
36- " │ ││ │"
37- " │ ││ │"
38- " │ ││ │"
39- " │ ││ │"
40- " │ ││ │"
41- " │ ││ │"
42- " │ ││ │"
43- " │ ││ │"
44- " └──────────────────────────────────────────────────────────┘└──────────────────────────────────────────────────────────┘"
45- " Branches [b] Push [p] Fetch [⇧F] Pull [f] Undo Commit [⇧U] Submodules [⇧S] Nav [↑↓→←] Diff [→] To stage [w] more [.]"
7+ " ────────────────────────────────────────────────────────────────────────────────────────────────── "
8+ " ┌Unstaged Changes────────────────────────────────┐┌Diff: ──────────────────────────────────────────┐"
9+ " │ ││ │"
10+ " │ ││ │"
11+ " │ ││ │"
12+ " └────────────────────────────────────────{master}┘│ │"
13+ " ┌Staged Changes──────────────────────────────────┐│ │"
14+ " │ ││ │"
15+ " │ ││ │"
16+ " └────────────────────────────────────────────────┘└────────────────────────────────────────────────┘"
17+ " Branches [b] Push [p] Fetch [⇧F] Pull [f] Undo Commit [⇧U] Submodules [⇧S] Nav [↑↓→←] more [.]"
You can’t perform that action at this time.
0 commit comments