From 33f2d4f9ee132e979ad5f92284d87e6e2a56426d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 20 May 2019 17:05:37 -0400 Subject: Show unsupported mimetype message in red --- widgets/msgviewer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go index e676478..39ee637 100644 --- a/widgets/msgviewer.go +++ b/widgets/msgviewer.go @@ -425,7 +425,7 @@ func (pv *PartViewer) Draw(ctx *ui.Context) { if pv.filter == nil { // TODO: Let them download it directly or something ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault) - ctx.Printf(0, 0, tcell.StyleDefault, + ctx.Printf(0, 0, tcell.StyleDefault.Foreground(tcell.ColorRed), "No filter configured for this mimetype") return } -- cgit 1.4.1-2-gfad0 branches'> mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
summary refs log tree commit diff stats
path: root/setup.py
blob: 0d72978b9148a5f81e4663dd4925eb8c8578db76 (plain) (blame)
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