mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-26 18:43:37 +03:00
fix writing out of bounds (fixes #198)
This commit is contained in:
parent
6e1fc58406
commit
002a3a8f6f
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- new tags were not picked up in revlog view ([#190](https://github.com/extrawurst/gitui/issues/190))
|
||||
- tags not shown in commit details popup ([#193](https://github.com/extrawurst/gitui/issues/193))
|
||||
- min size for relative popups on small terminals ([#179](https://github.com/extrawurst/gitui/issues/179))
|
||||
- fix crash on resizing terminal to very small width ([#198](https://github.com/extrawurst/gitui/issues/198))
|
||||
|
||||
## [0.8.1] - 2020-07-07
|
||||
|
||||
|
@ -157,7 +157,7 @@ impl CommandBar {
|
||||
let r = Rect::new(
|
||||
r.width.saturating_sub(MORE_WIDTH),
|
||||
r.y + r.height.saturating_sub(1),
|
||||
MORE_WIDTH,
|
||||
MORE_WIDTH.min(r.width),
|
||||
1,
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user