Support ProgressMeter or other progress logging utiliites such Term.jl?

Open
#58 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
tooling

Research direction

Start by locating the predefined controls that emit messages with @info, then inspect how their output interacts with ProgressMeter or Term.jl. The work is done when predefined-control messages no longer disrupt the progress meter and the relevant behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Description

Currently, predefined controls emits message by using @info which will break ProgressMeter. The issue is that the progress meter will no longer stay at the same place as the @info displays. The suggested fix is to wrap the message in rpad such as

@info rpad("my message ...", displaysize(stdout)[2])

However, with the predefined control behavior, it is impossible to wrap the message before @info.

Dominant language
Julia
Stars
25
Forks
1
Avg merge
2d 8h
Merged PRs (30d)
6

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaAI/IterationControl.jl

All issues in JuliaAI/IterationControl.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.