Doesn't work properly on Ubuntu
See original GitHub issueTried this on Ubuntu 16.04 x64 with Python 3.5.2 in both the default terminal and Terminator and the output doesn’t always print over the top of itself, instead printing on new lines as with regular print()
.
When I run the example from the README, none of the lines seem to reprint. I’ve also tried this other example and only the Total Progress
line stays in the same spot (the Moving File
line always prints on a new line).
Not sure if it matters, but I’m using zsh
. I tried both of the above on OSX using Terminal.app (also using zsh
) and it worked fine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Ubuntu Linux PC Won't Boot? 5 Common Issues and Fixes
Ubuntu Not Booting? Try These 5 Tips · Check for bootable devices · Is the GRUB bootloader working? · Repair the bootloader menu...
Read more >How to Fix Broken Ubuntu 20.04 without Reinstalling It
How to Fix Broken Ubuntu 20.04 without Reinstalling It · Step 1: Login from Live CD or bootable USB · Step 2: Remove...
Read more >How to Fix an Ubuntu System When It Won't Boot - How-To Geek
How to Fix an Ubuntu System When It Won't Boot · Check if You Can Access the GRUB Boot Loader · Repair GRUB...
Read more >Fixing a Broken Ubuntu GUI. Lessons learned from bad driver…
If your driver Installation failed and GUI broke down. If your GUI hung up for some reason, or the process didn't finish successfully,...
Read more >Ubuntu Software Center Not Working? Here Are the Fixes
One of the oddest fixes for the Ubuntu Software Center not working problem is simply changing the language. You can even reselect your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not working on Windows 10 using Cmder – which is a wrapper for ConEmu. My case is probably a really niche one, but it is still a problem that you might want to know about. Python 3 if that makes any difference.
EDIT:
It’s actually worse on the regular Command Line for Windows 10.
EDIT 2:
I fixed the problem by changing the magic character to
\x1b[1A
and changing the origin position (line 162) toprint(magic_char * (max(last_output_lines, lines)), end="")
. The escape code will not work on windows without using colorama though, so that would become a dependency and would require the linecolorama.init()
to be somewhere in the code (I have it on line 121).Looks good!
It reproduces nicely on my machine.
Thank for the update.