@@ -20,31 +20,31 @@ type Item struct {
2020const (
2121 popOutMenuHeight int = 20
2222 langStrMaxLength int = 32
23- keyMapText string = `[#%[1]s]<C-c >[-]
23+ keyMapText string = `[#%[1]s]<%[2]s >[-]
2424 Exit program.
2525[#%[1]s]<Esc>[-]
2626 Toggle pop out menu.
27- [#%[1]s]<%[2]s>[-]
28- Translate from source to destination window.
2927[#%[1]s]<%[3]s>[-]
30- Swap language .
28+ Translate from source to destination window .
3129[#%[1]s]<%[4]s>[-]
32- Clear all text in source of translation window .
30+ Swap language .
3331[#%[1]s]<%[5]s>[-]
34- Copy selected text.
32+ Clear all text in source of translation window .
3533[#%[1]s]<%[6]s>[-]
36- Copy all text in source of translation window .
34+ Copy selected text.
3735[#%[1]s]<%[7]s>[-]
38- Copy all text in destination of translation window.
36+ Copy all text in source of translation window.
3937[#%[1]s]<%[8]s>[-]
40- Play text to speech on source of translation window.
38+ Copy all text in destination of translation window.
4139[#%[1]s]<%[9]s>[-]
42- Play text to speech on destination of translation window.
40+ Play text to speech on source of translation window.
4341[#%[1]s]<%[10]s>[-]
44- Stop playing text to speech.
42+ Play text to speech on destination of translation window .
4543[#%[1]s]<%[11]s>[-]
46- Toggle transparent .
44+ Stop playing text to speech .
4745[#%[1]s]<%[12]s>[-]
46+ Toggle transparent.
47+ [#%[1]s]<%[13]s>[-]
4848 Toggle Definition/Example & Part of speech.
4949[#%[1]s]<Tab>, <S-Tab>[-]
5050 Cycle through the pop out widget.
@@ -170,6 +170,7 @@ func updateNonConfigColor() {
170170 keyMapMenu .SetTextColor (uiStyle .ForegroundColor ()).
171171 SetText (fmt .Sprintf (keyMapText ,
172172 fmt .Sprintf ("%.6x" , uiStyle .HighLightColor ().TrueColor ().Hex ()),
173+ keyMaps ["exit" ],
173174 keyMaps ["translate" ],
174175 keyMaps ["swap_language" ],
175176 keyMaps ["clear" ],
0 commit comments