add Cyrillic→Latin keyboard layout translation for Russian users (ЙЦУКЕН→QWERTY)

This commit is contained in:
vrubelroman 2026-04-27 20:30:11 +03:00
parent d38945f595
commit c0df75c57e
2 changed files with 53 additions and 0 deletions

View file

@ -595,6 +595,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, nil
case tea.KeyMsg:
msg = translateKeyMsg(msg)
if msg.String() != "y" {
m.pendingY = false
}