Skip to content

Make sticky messages work better on windows #28

Closed
@c42f

Description

@c42f

Now that people have started using this package, we're seeing that some unfortunate workarounds are required. For example, the iswindows check here: https://github.com/JuliaDiffEq/DiffEqBase.jl/pull/454/files.

There seem to be a few options:

  • Use a combination of printing blank lines to force scrolling, followed by backward terminal cursor movement commands to simulate the behavior of the scroll region.
  • Whatever ConsoleProgressMonitor does which makes it work ok-ish on windows
  • Use some direct (synchronous) write hack which would bypass libuv and allow us to set the terminal scroll region on windows, regardless of libuv's attempt to intercept?
  • Longer term, now that win,tty: Added set cursor style to CSI sequences libuv/libuv#1884 has merged it might be the time to look into fixing libuv's handling of the scroll region escape codes. Unfortunately that's got a long lead time and won't fix things on older Julia versions.

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