[GH-ISSUE #281] tview text view miss display bug. #217

Closed
opened 2026-03-04 01:03:04 +03:00 by kerem · 2 comments
Owner

Originally created by @eval-exec on GitHub (May 11, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/281

After I run go run an example from tview wiki tview-wiki

The first character on each beginning of line miss diaplay.

Screenshot_2019-05-11_09-46-13

and view-wiki-pages.go

Screenshot_2019-05-11_10-37-17
there may be something wrong happened in page border.

I am using Arch Linux

$ uname -a
Linux mufasa 5.0.13-arch1-1-ARCH #1 SMP PREEMPT Sun May 5 18:05:41 UTC 2019 x86_64 GNU/Linux

I am using xfce windows manager.
I run go run ... on xfce terminal.

My linux locale is :
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

Originally created by @eval-exec on GitHub (May 11, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/281 After I run `go run` an example from tview wiki [tview-wiki](https://github.com/rivo/tview/wiki/TextViewl) The first character on each beginning of line miss diaplay. ![Screenshot_2019-05-11_09-46-13](https://user-images.githubusercontent.com/46400566/57563588-302b9600-73d2-11e9-9ca8-572c91dc2ba0.png) and [view-wiki-pages.go](https://github.com/rivo/tview/wiki/Pages) ![Screenshot_2019-05-11_10-37-17](https://user-images.githubusercontent.com/46400566/57564088-ff029400-73d8-11e9-832f-27fa19692574.png) there may be something wrong happened in page border. I am using Arch Linux `$ uname -a` `Linux mufasa 5.0.13-arch1-1-ARCH #1 SMP PREEMPT Sun May 5 18:05:41 UTC 2019 x86_64 GNU/Linux` I am using xfce windows manager. I run `go run ...` on xfce terminal. My linux locale is : `$ locale` `LANG=en_US.UTF-8` `LC_CTYPE="en_US.UTF-8"` `LC_NUMERIC="en_US.UTF-8"` `LC_TIME="en_US.UTF-8"` `LC_COLLATE="en_US.UTF-8"` `LC_MONETARY="en_US.UTF-8"` `LC_MESSAGES="en_US.UTF-8"` `LC_PAPER="en_US.UTF-8"` `LC_NAME="en_US.UTF-8"` `LC_ADDRESS="en_US.UTF-8"` `LC_TELEPHONE="en_US.UTF-8"` `LC_MEASUREMENT="en_US.UTF-8"` `LC_IDENTIFICATION="en_US.UTF-8"` `LC_ALL=en_US.UTF-8`
kerem closed this issue 2026-03-04 01:03:04 +03:00
Author
Owner

@eval-exec commented on GitHub (May 11, 2019):

This problem is solved after I run the command:
export LC_CTYPE="en_US.UTF-8"

<!-- gh-comment-id:491515402 --> @eval-exec commented on GitHub (May 11, 2019): This problem is solved after I run the command: ` export LC_CTYPE="en_US.UTF-8"`
Author
Owner

@eval-exec commented on GitHub (May 11, 2019):

Screenshot_2019-05-11_22-26-43

<!-- gh-comment-id:491515477 --> @eval-exec commented on GitHub (May 11, 2019): ![Screenshot_2019-05-11_22-26-43](https://user-images.githubusercontent.com/46400566/57571088-250d5000-743c-11e9-99e8-5e14c7f7abbf.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#217
No description provided.