panwid icon indicating copy to clipboard operation
panwid copied to clipboard

Example not working

Open laixintao opened this issue 5 years ago • 5 comments

Hi, I tried example/datatable.py and it shows like below on my mac:

image

What did you have been working on? I would like to help with this project.

laixintao avatar Apr 05 '19 05:04 laixintao

Aside from some unicode weirdness there (the ????s at the top should be a horizontal line, the ? in the scrollbar should be ⊖) that's pretty much what it looks like here. The example code for datatable is a bit weird right now because I'm using it to test out some new features. What you see there is a datatable nested inside of another, which is functionality I'm using in streamglob.

Taking all that junk out of the example and making it more of a demo like it used to be is on my list, so I'll keep this issue open to remind me to do that.

tonycpsu avatar Apr 05 '19 05:04 tonycpsu

OK thanks for reply, I will try to make it work by myself. Maybe I will open a PR when it's done.

I am working on a top like tool here: https://github.com/laixintao/pingtop and your datatable is exactly what I need! 👍

laixintao avatar Apr 05 '19 05:04 laixintao

Hi, I can print unicode, but in example.py it's still ?

python -c 'print("\N{UPWARDS ARROW}")'
―

Can you show your pip freeze of your panwid env? Thanks.

laixintao avatar Apr 05 '19 08:04 laixintao

Look like it's an issue with urwid https://github.com/urwid/urwid/issues/286

Is unicode looks good in your enviroment?

laixintao avatar Apr 05 '19 08:04 laixintao

Yeah, it looks fine.

image

If there is a bug in urwid, I'm a maintainer over there now so I should be able to fix it. Just not sure what the bug would be.

tonycpsu avatar Apr 05 '19 15:04 tonycpsu