Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input prompt alignment #27

Closed
mbenford opened this issue Mar 23, 2022 · 2 comments
Closed

Input prompt alignment #27

mbenford opened this issue Mar 23, 2022 · 2 comments

Comments

@mbenford
Copy link
Contributor

I see that there is already support for customizing the input prompt alignment, but it is currently not exposed and alignment is hard-coded as left. Will it be eventually promoted to a public option that we can use?

@stevearc
Copy link
Owner

Added! Set it with

require('dressing').setup({
  input = {
    prompt_align = 'left',
  }
})

@mbenford
Copy link
Contributor Author

Whoa, thanks for such a quick reply! It works perfectly! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants