lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Can't type certain characters in modal text box

Open dpeter99 opened this issue 3 years ago • 4 comments

Describe the bug When I try to type a commit message, I can't type in [ ], or when adding a new remote I can't copy in @.

To Reproduce Steps to reproduce the behavior:

  1. Go to remoters
  2. Click on add new
  3. give it any name
  4. Try to copy in a SSH URL for the remote

Expected behavior I would expect to be able to use any character in these input fields.

Desktop (please complete the following information):

  • OS: Windows
  • Lazygit Version: 0.34

dpeter99 avatar Jul 19 '22 08:07 dpeter99

Are you using a US layout?

Could you try building current master to see if that helps?

mark2185 avatar Jul 19 '22 08:07 mark2185

My keyboard is Hungarian layout. I will check out the master after work.

dpeter99 avatar Jul 19 '22 08:07 dpeter99

My guess is that the combination of altGr + <something> is the underlying issue here.

This cropped up once before, actually.

@jesseduffield would you happen to have any insight whether this is an issue of a dependency such as gocui or?

mark2185 avatar Jul 19 '22 09:07 mark2185

yeah it sounds like a gocui issue: quite possibly the same issue that https://github.com/jesseduffield/lazygit/issues/1516 talks about (there's a PR up to address that but it's stale)

jesseduffield avatar Jul 19 '22 10:07 jesseduffield

This is an issue for me to on a Nordic layout, issues like this means I have to swap between layouts when using lazygit which isn't very user friendly :) (but lazygit is so good it's worth it)

Jerakin avatar May 09 '23 07:05 Jerakin

Should be fixed by #3194.

stefanhaller avatar Jan 10 '24 08:01 stefanhaller