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

[BUG] Multiline InputField fails to display correctly a in scrollable container #145

Open
Polyfish0 opened this issue Apr 30, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@Polyfish0
Copy link

Describe the bug
The InputField is not working correctly when it is created inside an container with overflow=ptg.Overflow.SCROLL. When Multiline is enabled it is only one big line and I am not able to modify it. When I set the value inside the function signature it does not change anything and the value does not appear.

To Reproduce

  1. Make a window
  2. Insert into the window a container with overflow=ptg.Overflow.SCROLL
  3. Insert into this container a multiline InputField with a default value

Expected behavior
I have a multiline input field where the user is able to scroll if the input field gets to big

Screenshots
Dont worry about the screenshot. The data is public.
How it should look
image

How it is looking
image

System information

❯ ptg --version
PyTermGUI version 7.7.1

System details:
    Python version: 3.12.3
    $TERM:          xterm-256color
    $COLORTERM:     truecolor
    Color support:  ColorSystem.TRUE
    OS Platform:    Linux-6.8.7-arch1-2-x86_64-with-glibc2.39
@Polyfish0 Polyfish0 added the Bug Something isn't working label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant