summary refs log tree commit diff stats
path: root/widgets/msglist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index 0fb919d..cf9a772 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -13,6 +13,7 @@ import (
 type MessageList struct {
 	conf         *config.AercConfig
 	logger       *log.Logger
+	height       int
 	onInvalidate func(d ui.Drawable)
 	selected     int
 	spinner      *Spinner
@@ -45,6 +46,7 @@ func (ml *MessageList) Invalidate() {
 }
 
 func (ml *MessageList) Draw(ctx *ui.Context) {
+	ml.height = ctx.Height()
 	ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault)
 
 	if ml.store == nil {
@@ -91,6 +93,10 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
 	}
 }
 
+func (ml *MessageList) Height() int {
+	return ml.height
+}
+
 func (ml *MessageList) SetStore(store *lib.MessageStore) {
 	ml.store = store
 	if store != nil {
pwn.com> 2019-05-14 16:55:50 -0400 Implement move, mv commands' href='/akspecs/aerc/commit/commands/account/move.go?h=0.6.0&id=2e5ae1946bb3f55d00db5a1deebde2c84826ebf6'>2e5ae19 ^
2a09617 ^







f9d26ee ^
2e5ae19 ^

2a09617 ^
c552231 ^
acfe7d7 ^

2e5ae19 ^
c552231 ^
acfe7d7 ^











753adb9 ^

2e5ae19 ^


8bb115d ^



217e85a ^



753adb9 ^



32f970e ^

c552231 ^
acfe7d7 ^

2e5ae19 ^

715c9a4 ^
2e5ae19 ^






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78