mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
Fix highlight height in modern mode
This commit is contained in:
parent
d4e820579c
commit
abfcdae4ef
1 changed files with 3 additions and 0 deletions
|
@ -340,6 +340,9 @@ func (msg *UIMessage) Draw(screen mauview.Screen, modernHeader bool) {
|
|||
msg.DrawReactions(proxyScreen, modernHeader)
|
||||
if msg.IsSelected {
|
||||
w, h := screen.Size()
|
||||
if modernHeader {
|
||||
h--
|
||||
}
|
||||
for x := 0; x < w; x++ {
|
||||
for y := 0; y < h; y++ {
|
||||
mainc, combc, style, _ := screen.GetContent(x, y)
|
||||
|
|
Loading…
Add table
Reference in a new issue