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

optimize the default cli option --prompt with splitline for long prompt #1144

Open
hzc989 opened this issue Jan 15, 2024 · 0 comments
Open

Comments

@hzc989
Copy link
Contributor

hzc989 commented Jan 15, 2024

Background

a default prompt (\\t \\u@\\h:\\d> ) is already defined inside MyCli class. however it does not work properly when the total length exceeds 45 characters.

how to optimize it

simply define another default prompt with splitline

I made a PR which closes this issue

@hzc989 hzc989 changed the title Fix the lack of default cli option --prompt optimize the default cli option --prompt with splitline for long prompt Jan 18, 2024
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

1 participant