[REQUEST] Colored User Input
How would you improve Rich?
It would be nice to be able to color the user input as well. There currently doesn't seem to be an option for that.
What problem does it solve for you?
It gives more control over styling. In prompt_toolkit it's possible, but I don't want to use the additional overhead.
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
I am new to this library and thought that I just can't find this feature, but it looks like it is missing. So +1 for colored text input.
I am new to this library and thought that I just can't find this feature, but it looks like it is missing. So +1 for colored text input.
Hey, the way I solved it was by using ANSI escape sequences.
Initially it worked partially but there was some limitation in combination with rich but in the end I got it working, so I can say it's certainly possible, but I don't have the code anymore, so unfortunately I can't give you the exact solution.
I hope this helps you towards a solution.
Thanks! I will try escape sequences.
On Wed, Jul 31, 2024, 14:03 j0yk1ll @.***> wrote:
I am new to this library and thought that I just can't find this feature, but it looks like it is missing. So +1 for colored text input.
Hey, the way I solved it was by using ANSI escape sequences.
Initially it worked partially but there was some limitation in combination with rich but in the end I got it working, so I can say it's certainly possible, but I don't have the code anymore, so unfortunately I can't give you the exact solution. But I hope the pointer helps you towards a solution.
— Reply to this email directly, view it on GitHub https://github.com/Textualize/rich/issues/3369#issuecomment-2260252448, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALXLD3FAE4OUVGLNMDTP6ALZPC767AVCNFSM6AAAAABITWH6WWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQGI2TENBUHA . You are receiving this because you commented.Message ID: @.***>