Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

down(0) moves down one #5

Description

@davidmaxwaterman

I've noticed that down(0) actually moves down one line when it's at the bottom of the terminal. Any ideas why?

I've had to 'if' it out.

See here :

https://github.com/davidmaxwaterman/progress

commit b86f400f3d05faed70b0468e38bba6f830b844f1 shows the error (and the commit after it has the 'if'to fix it)

$ cat tests/test1.txt | bin/progress

If you do the above at the top of the terminal window, it scrolls down endlessly, but if at the bottom, it doesn't. Having said that, while writing this, it doesn't seem to make sense, so perhaps I'm not completely understanding what's happening, but anyway, the if seems to fix it.

Comments/help welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions