Only apply keyConv to mnemonic in menus (#2161)
This fixes an issue where namespaces with "alt" in the name get replaced by "opt" when running on macOS.mine
parent
f42f19bbce
commit
55c1905eb1
|
|
@ -148,7 +148,7 @@ func (m *Menu) buildMenuTable(hh model.MenuHints, table []model.MenuHints, colCo
|
|||
func (m *Menu) layout(table []model.MenuHints, mm []int, out [][]string) {
|
||||
for r := range table {
|
||||
for c := range table[r] {
|
||||
out[r][c] = keyConv(m.formatMenu(table[r][c], mm[c]))
|
||||
out[r][c] = m.formatMenu(table[r][c], mm[c])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue