Render tabs in TextView properly #63

Open
opened 2021-07-02 14:54:03 +00:00 by makeworld · 1 comment

The following text, which is only separated by tabs, does not display properly in a TextView.

fruit	vegetable	meat
apple	tomato		fish
사과	토마토		물고기

It looks like this instead:

screenshot

This issue was originally reported in the Amfora repo here.

The following text, which is only separated by tabs, does not display properly in a TextView. ``` fruit vegetable meat apple tomato fish 사과 토마토 물고기 ``` It looks like this instead: ![screenshot](https://user-images.githubusercontent.com/86095544/124288336-a297fb00-db83-11eb-9042-3518b4ac048e.png) This issue was originally reported in the Amfora repo [here](https://github.com/makeworld-the-better-one/amfora/issues/246).
tslocum added the
bug
label 2021-07-04 01:10:05 +00:00
tslocum added
enhancement
and removed
bug
labels 2021-07-09 00:25:11 +00:00
tslocum changed title from Issue with tabs and Asian characters to Render tabs in TextView properly 2021-07-09 00:26:11 +00:00
Owner

This is the expected behavior currently, tabs are simply replaced with TabSize spaces.

This is the [expected behavior](https://code.rocketnine.space/tslocum/cview/src/commit/a989031127f294ee1396c4472ddf98e08dc78db8/textview.go#L797) currently, tabs are simply replaced with `TabSize` spaces.
tslocum added the
help wanted
label 2021-07-09 00:28:58 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
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: tslocum/cview#63
No description provided.