superfly / flyctl

Command line tools for fly.io services
https://fly.io
Apache License 2.0
1.44k stars 243 forks source link

Moving between regions prints info line again #2828

Open redjonzaci opened 1 year ago

redjonzaci commented 1 year ago

Describe the bug I was following https://fly.io/docs/elixir/getting-started/ and if I move between regions while running fly launch, the info line is printed again. Is that expected behavior?

Command output:

? Choose a region for deployment:  [Use arrows to move, type to filter]       
? Choose a region for deployment:  [Use arrows to move, type to filter]
? Choose a region for deployment:  [Use arrows to move, type to filter]
? Choose a region for deployment:  [Use arrows to move, type to filter]
  Madrid, Spain (mad)
  Miami, Florida (US) (mia)
  Tokyo, Japan (nrt)
  Chicago, Illinois (US) (ord)
  Bucharest, Romania (otp)
  Phoenix, Arizona (US) (phx)
  Querétaro, Mexico (qro)
> Santiago, Chile (scl)
  Seattle, Washington (US) (sea)
  Singapore, Singapore (sin)
  San Jose, California (US) (sjc)
  Sydney, Australia (syd)
  Warsaw, Poland (waw)
  Montreal, Canada (yul)
  Toronto, Canada (yyz)
redjonzaci commented 1 year ago

Comparing with Amplify CLI, they don't seem to print the line again so I guess it must be a bug. I will look into this.

redjonzaci commented 1 year ago

I don't remember correctly if something released recently caused this or it has always been this way.

redjonzaci commented 1 year ago

Nothing in the names of PRs part of the recent releases suggests this issue being introduced recently.