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

When TextArea is on a non-default screen, the text of the active line is hidden #4213

Closed
darrenburns opened this issue Feb 26, 2024 · 1 comment · Fixed by #4220
Closed
Assignees

Comments

@darrenburns
Copy link
Member

darrenburns commented Feb 26, 2024

This was reported on Discord.

image

There is text behind the grey "active line" highlight.

from textual.app import App
from textual.screen import Screen
from textual.widgets import TextArea

class AltScreen(Screen):
    def compose(self):
        yield TextArea()

class TABug(App):
    def on_mount(self):
        self.push_screen(AltScreen())

if __name__ == "__main__":
    app = TABug()
    app.run()
Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant