summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-20 14:01:13 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-20 14:01:13 -0400
commit22cc40f4d482e76a53a72f7a3c6ddf8038b3c98e (patch)
tree6553ec5a5b39719e22ba33b2d44b54400e5b121b /commands
parentef57300fafb45f54d10f8ec75d19301dec351ba0 (diff)
downloadaerc-22cc40f4d482e76a53a72f7a3c6ddf8038b3c98e.tar.gz
pipe.go: let tab widget handle ellipsis
Diffstat (limited to 'commands')
-rw-r--r--commands/account/pipe.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/account/pipe.go b/commands/account/pipe.go
index 9461d17..9675fe4 100644
--- a/commands/account/pipe.go
+++ b/commands/account/pipe.go
@@ -9,7 +9,6 @@ import (
 	"git.sr.ht/~sircmpwn/aerc/widgets"
 
 	"github.com/gdamore/tcell"
-	"github.com/mattn/go-runewidth"
 )
 
 func init() {
@@ -38,7 +37,7 @@ func Pipe(aerc *widgets.Aerc, args []string) error {
 			return
 		}
 		name := args[1] + " <" + msg.Envelope.Subject
-		aerc.NewTab(term, runewidth.Truncate(name, 32, "…"))
+		aerc.NewTab(term, name)
 		term.OnClose = func(err error) {
 			if err != nil {
 				aerc.PushStatus(" "+err.Error(), 10*time.Second).
ml?h=v1.5.5&id=62cd83bace8e77cd1ff7028da6cf65d0d1defa27'>62cd83ba ^
f07bb12f ^







ef0157ff ^
f07bb12f ^









ef0157ff ^
f07bb12f ^
62cd83ba ^
ef0157ff ^
62cd83ba ^


ef0157ff ^

62cd83ba ^



f07bb12f ^








62cd83ba ^
ef0157ff ^
62cd83ba ^



































ef0157ff ^
62cd83ba ^
ef0157ff ^
62cd83ba ^








ef0157ff ^
62cd83ba ^



ef0157ff ^
62cd83ba ^

ef0157ff ^
62cd83ba ^

c776804d ^
62cd83ba ^
ef0157ff ^
62cd83ba ^

f07bb12f ^

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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134