Skip to content

Conversation

staffanm
Copy link
Contributor

@staffanm staffanm commented Jun 16, 2017

This fixes the issue I'm having in #398, by making sure that moveto always flushes the control codes it might write to the terminal in order to move the cursor up one or more lines.

Unfortunately I have no idea of how to write a test case for this. The existing test cases still work, though.

@codecov-io
Copy link

codecov-io commented Jun 16, 2017

Codecov Report

Merging #399 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #399      +/-   ##
==========================================
+ Coverage   99.52%   99.52%   +<.01%     
==========================================
  Files           7        7              
  Lines         628      629       +1     
  Branches      120      120              
==========================================
+ Hits          625      626       +1     
  Misses          1        1              
  Partials        2        2

@casperdcl casperdcl self-assigned this Jun 17, 2017
@casperdcl casperdcl added p2-bug-warning ⚠ Visual output bad p3-enhancement 🔥 Much new such feature to-review 🔍 Awaiting final confirmation labels Jun 17, 2017
@casperdcl
Copy link
Member

Seems fine, just odd that this implies python3 interleaves output control codes weirdly?

@casperdcl casperdcl force-pushed the master branch 6 times, most recently from 6ec00f1 to 4b6476a Compare July 22, 2017 14:15
@DrJimFan
Copy link

Can we merge this PR soon? It also fixes the problem for me in #420

@lrq3000
Copy link
Member

lrq3000 commented Sep 22, 2017

All good for me. I don't think a unit test is necessary. Also #331 should fix similar issue happening with clean() and refresh().

@casperdcl casperdcl mentioned this pull request Oct 5, 2017
5 tasks
@casperdcl casperdcl added this to the v5.0.0 milestone Oct 9, 2017
@casperdcl casperdcl merged commit d13f6ef into tqdm:master Oct 15, 2017
casperdcl added a commit that referenced this pull request Oct 15, 2017
- closes #399
    - fixes #398
    - fixes #420 (probably)
    - complements #464
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-bug-warning ⚠ Visual output bad p3-enhancement 🔥 Much new such feature to-review 🔍 Awaiting final confirmation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants