summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ui/textinput.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go
index aa8be78..892646d 100644
--- a/lib/ui/textinput.go
+++ b/lib/ui/textinput.go
@@ -59,6 +59,8 @@ func (ti *TextInput) Draw(ctx *Context) {
 	scroll := ti.scroll
 	if !ti.focus {
 		scroll = 0
+	} else {
+		ti.ensureScroll()
 	}
 	ti.ctx = ctx // gross
 	ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault)
-12-12 01:17:44 +0100 committer hut <hut@lavabit.com> 2009-12-12 01:17:44 +0100 merged main with __init__' href='/akspecs/ranger/commit/TODO?h=v1.2.1&id=a1d7ed6e9fca2f2e76685bef787c09ed6a456f63'>a1d7ed6e ^
e92fe17a ^
e92fe17a ^
b5493fe4 ^

ef0ee843 ^
0b8a9d79 ^
a6791aee ^
23236d0c ^
08f21ae5 ^
4b826595 ^
757e1f55 ^
277ecc9e ^
9983328c ^
752378e0 ^
ee4ad7e5 ^

b13518af ^
509afd70 ^
fc486c60 ^
eb063058 ^
2c1d2db0 ^
291ca616 ^
50845f37 ^
4be8b401 ^



d955e3f0 ^
75013dc7 ^
67bb838c ^
a808a661 ^
bba8d293 ^
2a64495f ^
5e449699 ^
fc486c60 ^
7b04e507 ^
0268e3c3 ^
6f43de0a ^




fca1fc4f ^
f70ee6b2 ^
0db4c9b2 ^
b2d63ef5 ^
291ca616 ^
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