Skip to content

Getting rows/cols via getOption/options is misleading #3825

@Tyriar

Description

@Tyriar

The options API always returns the initial values for cols/rows, this was the root cause of this issue which was tough to figure out: microsoft/vscode#146059

We should special case Terminal.options.rows/cols to return Terminal.rows/cols

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeBreaks API and requires a major version bumptype/bugSomething is misbehaving

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions