Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text formatting breaking when phone rotated and copy has additional spaces #4183

Open
vrtareg opened this issue Oct 4, 2024 · 1 comment

Comments

@vrtareg
Copy link

vrtareg commented Oct 4, 2024

Problem description

When working in terminal it is sometimes necessary to rotate phone to landscape mode to see the full line of the text or log tail.

In the past versions it was working correctly but recently started to break and view is getting like ladder when rotating as buffer likes stores data with spaces to keep formatting rather than new lines.

Also thisis breaking text copy as there are additional spaces added to the end of the lines and it doesn't allow proper formatting to take place.

When copy pasting code it breaks logic.

P.S. Not sure if this is reported so far.

Steps to reproduce the behavior.

Tail or cat long lines containing file.

Rotate phone and check that lines are correctly aligned against the left side

What is the expected behavior?

Text is formatted on the left side of the screen when tailing or catting the file, selecting part of the screen and pasting the mail or text editor should not have trailing spaces.

tail -F logfile
cat logfile

System information

  • Termux application version: 0.118.1
  • Android OS version: 14
  • Device model: Xiaomi Mi11T
## Termux App Info

**APP_NAME**: `Termux`  
**PACKAGE_NAME**: `com.termux`  
**VERSION_NAME**: `0.118.1`  
**VERSION_CODE**: `1000`  
**TARGET_SDK**: `28`  
**IS_DEBUGGABLE_BUILD**: `false`  
**APK_RELEASE**: `F-Droid`  
**SIGNING_CERTIFICATE_SHA256_DIGEST**: `228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42`  
##


## Device Info

### Software

**OS_VERSION**: `5.4.259-qgki-g529d0187d344`  
**SDK_INT**: `34`  
**RELEASE**: `14`  
**ID**: `UKQ1.231207.002`  
**DISPLAY**: `UKQ1.231207.002 release-keys`  
**INCREMENTAL**: `V816.0.5.0.UKDEUXM`  
**SECURITY_PATCH**: `2024-09-01`  
**IS_DEBUGGABLE**: `0`  
**IS_TREBLE_ENABLED**: `true`  
**TYPE**: `user`  
**TAGS**: `release-keys`  

### Hardware

**MANUFACTURER**: `Xiaomi`  
**BRAND**: `Xiaomi`  
**MODEL**: `2107113SG`  
**PRODUCT**: `vili_eea`  
**BOARD**: `vili`  
**HARDWARE**: `qcom`  
**DEVICE**: `vili`  
**SUPPORTED_ABIS**: `arm64-v8a, armeabi-v7a, armeabi`  
##


## Important Links

### Github

[Termux](https://github.com/termux/termux-app)  
[Termux:API](https://github.com/termux/termux-api)  
[Termux:Boot](https://github.com/termux/termux-boot)  
[Termux:Float](https://github.com/termux/termux-float)  
[Termux:Styling](https://github.com/termux/termux-styling)  
[Termux:Tasker](https://github.com/termux/termux-tasker)  
[Termux:Widget](https://github.com/termux/termux-widget)  
[termux-packages](https://github.com/termux/termux-packages)  

### Email

[[email protected]](mailto:[email protected])  

### Reddit

[r/termux](https://www.reddit.com/r/termux)  

### Wiki

[Termux Wiki](https://wiki.termux.com)  
[Termux](https://github.com/termux/termux-app/wiki)  
[termux-packages](https://github.com/termux/termux-packages/wiki)  
##

@vrtareg
Copy link
Author

vrtareg commented Oct 4, 2024

Screenshot_2024-10-03-07-33-36-274_com.termux.jpg

Screenshot_2024-10-03-07-33-33-450_com.termux.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant