Skip to content

console_width() should use a fixed width in .Rmd #780

Description

@gaborcsardi

Or maybe use getOption("width"), but at least it should use the terminal width, even if the console is a proper terminal.

From @DavisVaughan

EDIT: this seems to be a problem in Positron only, because Positron has

``` r
options(width = 100)
isatty(stdin())
```

    ## [1] TRUE

``` r
cli::is_ansi_tty()
```

    ## [1] TRUE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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