bczsalba / pytermgui

Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
https://ptg.bczsalba.com
MIT License
2.25k stars 56 forks source link

[BUG] Input field is missing the prompt #90

Closed ChrisRamsayITV closed 2 years ago

ChrisRamsayITV commented 2 years ago

Describe the bug The prompt is missing from InputFields

To Reproduce

  1. If I create an InputField with eg: InputField(prompt="My Input") only the input field is displayed - no prompt.

Expected behavior A prompt should appear before the input field

Screenshots image

System information

ptg --version is also broken :) Using v7.0.0 of pytermgui on Linux

This is a great project btw, thanks for creating it :+1:

bczsalba commented 2 years ago

ptg --version is also broken :)

A fix for that is already included for the next patch, 7.1.0, along with the re-introduction of field prompts & improved line breaking behaviour for the field's cursor!

This is a great project btw, thanks for creating it 👍

Thank you for the kind words! Feel free to open any discussions or join our discord if you have any questions.