lnav icon indicating copy to clipboard operation
lnav copied to clipboard

Problems rendering some emoji characters such as green circle

Open bacforsyth opened this issue 2 years ago • 2 comments

lnav version v0.11.1

Describe the bug Lnav is not rendering some emoji characters such as green circle U+1F7E2 🟢. My terminal (macOS 13.2) renders the same emoji fine when a text file containing emoji is given to cat. lnav on the same file renders some of the emoji but not all. lnav: image TextEdit: image Terminal: image

To Reproduce Steps to reproduce the behavior: create a plain text file with a variety of unicode emoji characters and open the file with lnav to verify all are rendered correctly.

bacforsyth avatar Mar 17 '23 19:03 bacforsyth

Hmm, maybe it's an ncurses issue? This python program has the same issue for me on macos:

import time
import curses

scr = curses.initscr()

curses.start_color()

scr.addstr(0, 0, "Grinning \U0001f600")
scr.addstr(1, 0, "Green Sq \U0001F7E9")
scr.addstr(2, 0, "Green C  \U0001F7E2")
scr.addstr(3, 0, "White Fl \U0001F3F3")
scr.addstr(4, 0, "")
scr.getch()

curses.endwin()
Screen Region 2023-03-31 at 08 49 25

tstack avatar Mar 31 '23 15:03 tstack