dry icon indicating copy to clipboard operation
dry copied to clipboard

Program freezes when hitting `Esc` when the list of container actions is shown

Open philippgille opened this issue 6 years ago • 3 comments

dry is awesome and works great in most cases. But I encountered a case where the program freezes and can reproduce this every time. It's only in a very specific case though (at least it seems so).

To reproduce:

  1. Start via CLI with dry
  2. Show the command list with Enter on the first container
  3. Close the command list with Esc
  4. => Program goes back to the list of all filtered containers, but is then completely frozen (Esc, q and any other shortcut doesn't work, only Ctrl+C works)

Note: This does not happen when you move the selection in the command list before. So when the command list is shown and you hit Down and then Esc, everything works fine. Also, when having done this a single time, and then opening more command lists and closing them without hitting Down, everything works fine as well. So for some reason, only the first opening/closing of the command list matters here.

philippgille avatar Jul 09 '19 09:07 philippgille

P.S.:

  • Installed via go get, with Go 1.11.5
  • Installed dry commit a1a56132d75fba85443cf4811fa6bee257d24c0e
    • (dry --version is: dry version , build, so it doesn't contain any info, probably because installing with go get doesn't lead to the required code generation or setting of constant values in the code)

philippgille avatar Jul 09 '19 09:07 philippgille

Thanks for reporting it and the clear instructions!!

moncho avatar Jul 09 '19 22:07 moncho

hi @philippgille

I have not been able to reproduce the problem following your instructions, could you please try again? Thanks

moncho avatar Aug 16 '19 11:08 moncho