alexmojaki / alexmojaki/futurecoder
cursor position misalignment for Unicode characters
- Ngôn ngữ chính
- Python
- Star
- 1.5k
- Fork
- 183
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Maybe it depends on the browser font settings, but I experienced an issue with the cursor position in the editor for some Unicode characters, which does not look correctly calculated. For example:
```python
print('⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪') # MEDIUM WHITE CIRCLE U+26AA
print('❎❎❎❎❎❎❎❎❎❎') # NEGATIVE SQUARED CROSS MARK U+274E
print('○○○○○○○○○○') # WHITE CIRCLE U+25CB
```
In Chrome/Edge, the cursor position is not correct for these characters (in all the three lines):

but somehow in Firefox the "WHITE CIRCLE"s in the last line are displayed correctly with (I think) a fixed-width font.

In the shell, I have no problem.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.