-
Notifications
You must be signed in to change notification settings - Fork 93
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
Search
function in small width of terminal
#3
Comments
I don't know what the Laravel team thinks, but for me this isn't a problem in Prompts, or am I wrong? 🤔 |
The I can't solve this other than throwing an error saying to increase the terminal height or reduce the font size. I could make it interactive so they can adjust the terminal size and then press enter to continue, but I'd want to see more people having the issue before going that far. |
This shouldn't be an issue once laravel/framework#46772 is merged because we're configuring Laravel to share its output buffer with Prompts, so they should be aware of each other's newlines. In the meantime, you could add this line yourself. |
I've created PR #20 to display a more helpful error message when the terminal height is too small. |
Laravel Prompts Version
0.1.0
Laravel Version
10.16.1
PHP Version
8.2
Operating System & Version
Linux
Terminal Application
Terminal of vs code and simple Terminal
Description
If I open the terminal from vs code and press the up and down arrow then it is made a new search prompt.
In my linux terminal works fine.
prompt_issue.mp4
Steps To Reproduce
I just install laravel application and make a simple command
The text was updated successfully, but these errors were encountered: