tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

Arrow keys don't work #43

Closed maesenka closed 10 years ago

maesenka commented 10 years ago

When starting Yeoman in SBT with the 'yo' command, I can't use the arrow keys anymore. In SBT or Yeoman they work fine. This makes navigating between options impossible.

Platform is Mac OS X Maverick, sbt 0.13.0, yeoman 1.1.2

OliverKK commented 10 years ago

+1

justjoheinz commented 10 years ago

same setup, same problem here.

milliondreams commented 10 years ago

This is a known issue as JLine (used by sbt) doesn't play well with other consoles trying to taake control. This can only be fixed in JLine.

In the meanwhile use, sbt yo [command/options]

so it doesn't take you to the list of commands.

instead of just sbt yo

acjay commented 10 years ago

This should probably be documented in the usage notes, at least until the problem is solved. But this is a pretty serious drawback.

@milliondreams I had issues even with the suggested fix. Is it equivalent to run yo [command/options] from the ui directory?

milliondreams commented 10 years ago

@acjay Thanks for pointing out my typo there. Missed the quotes (standard way of running sbt commands with paraameters)


sbt "yo [options/commands]"

ofcourse without the [ ] (square brackets)

milliondreams commented 10 years ago

Closing this as we cannot do anything to fix this one!