File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
- new tags were not picked up in revlog view ([ #190 ] ( https://github.com/extrawurst/gitui/issues/190 ) )
18
18
- tags not shown in commit details popup ([ #193 ] ( https://github.com/extrawurst/gitui/issues/193 ) )
19
19
- min size for relative popups on small terminals ([ #179 ] ( https://github.com/extrawurst/gitui/issues/179 ) )
20
+ - fix crash on resizing terminal to very small width ([ #198 ] ( https://github.com/extrawurst/gitui/issues/198 ) )
20
21
21
22
## [ 0.8.1] - 2020-07-07
22
23
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ impl CommandBar {
157
157
let r = Rect :: new (
158
158
r. width . saturating_sub ( MORE_WIDTH ) ,
159
159
r. y + r. height . saturating_sub ( 1 ) ,
160
- MORE_WIDTH ,
160
+ MORE_WIDTH . min ( r . width ) ,
161
161
1 ,
162
162
) ;
163
163
You can’t perform that action at this time.
0 commit comments