tldr-pages / tldr-python-client

Python command-line client for tldr pages
https://pypi.org/project/tldr/
MIT License
592 stars 92 forks source link

Rendering issue when viewing from tablet #229

Closed b9Joker108 closed 5 months ago

b9Joker108 commented 6 months ago

Hi

Thank you so much for this project!

I installed the project on my Android tablet with pip in Termux.

It doesn't seem to get rendering correctly, please see screen capture uploaded. Screenshot_20240212_125040_Termux

kbdharun commented 6 months ago

Hi, thanks for the issue.

I tested the same (Termux on Android) with Landscape mode on a Samsung mobile and it rendered fine for me, can you check if your tablet zooms Termux window automatically?

Alternatively, can you try installing our rust client from Cargo and see if it renders fine? (i.e. first install Cargo with pkg install rust binutils then cargo install tlrc, later add it to PATH using export PATH="/data/data/com.termux/files/home/.cargo/bin")

b9Joker108 commented 5 months ago

Hi, thank you so much for your response. Prior to reading your response, I actually uninstalled the installation with pip, and tried to install it other ways, but had a stumbling lock with the version of node.js in Termux repositories. The Termux repository just upgrade to a new version of node.js, and now tlrc worked flawlessly and rendered correctly. I am still thankful for your response, and as I have got the package working, this case may be closed.

Cheers Beauford