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] Syntax class does not display all content #1050

Closed
abotsis opened this issue Feb 22, 2021 · 2 comments
Closed

[BUG] Syntax class does not display all content #1050

abotsis opened this issue Feb 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@abotsis
Copy link

abotsis commented Feb 22, 2021

Describe the bug

When nesting a Syntax class (with line_numbers and word_wrap enabled) inside a Panel inside a Layout, only the first line is displayed.

To Reproduce

print(Layout(Panel(Syntax('import stuff\nwhile True:\n print("hello!!!!")\n','python',line_numbers=True, word_wrap=True))))

Platform
Linux

@willmcgugan willmcgugan added bug Something isn't working and removed Needs triage labels Feb 23, 2021
@willmcgugan
Copy link
Collaborator

Please try 9.12.0

@abotsis
Copy link
Author

abotsis commented Feb 25, 2021

Looks good to me! Thanks a ton, and awesome project!

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

2 participants