summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go
index 8c557df..8fc38ce 100644
--- a/widgets/terminal.go
+++ b/widgets/terminal.go
@@ -80,7 +80,7 @@ func init() {
 	keyMap[tcell.KeyPgDn] = directKey(vterm.KeyPageDown)
 	for i := 0; i < 64; i++ {
 		keyMap[tcell.Key(int(tcell.KeyF1)+i)] =
-			directKey(vterm.Key(int(vterm.KeyFunction0) + i))
+			directKey(vterm.Key(int(vterm.KeyFunction0) + i + 1))
 	}
 	keyMap[tcell.KeyTAB] = directKey(vterm.KeyTab)
 	keyMap[tcell.KeyESC] = directKey(vterm.KeyEscape)
575574be53a1b3be42d7037d2f432a19a3890'>b355755 ^
c732cc9 ^
6a8e176 ^
045f184 ^
6a8e176 ^
95e8d12 ^

1bf0c4a ^
a73a882 ^
b38905b ^
a73a882 ^

b355755 ^




a73a882 ^




f504aea ^


a73a882 ^

b355755 ^









a73a882 ^

9955ddc ^
45d16d0 ^
c732cc9 ^
a73a882 ^



e21d93b ^




a73a882 ^
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