Skip to content

ModalScreen takes the size of the terminal window when it was first opened and not its current size #5118

@DrPleaseRespect

Description

@DrPleaseRespect

ModalScreen takes the size of the terminal window when the program was first opened and not its current size.

2024-10-14.21-53-59.mp4

Textual Diagnostics

Versions

Name Value
Textual 0.83.0
Rich 13.8.0

Python

Name Value
Version 3.12.5
Implementation CPython
Compiler MSC v.1940 64 bit (AMD64)
Executable G:\Python\3.12\AudioPlayer\venv\Scripts\python.exe

Operating System

Name Value
System Windows
Release 11
Version 10.0.22631

Terminal

Name Value
Terminal Application Windows Terminal
TERM Not set
COLORTERM Not set
FORCE_COLOR Not set
NO_COLOR Not set

Rich Console options

Name Value
size width=128, height=36
legacy_windows True
min_width 1
max_width 128
is_terminal False
encoding cp1252
max_height 36
justify None
overflow None
no_wrap False
highlight None
markup None
height None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions