src/nvim/screen.c
/// Put a unicode character in a screen cell.
Put a unicode character in a screen cell.
Put a unicode character in a screen cell .
static int schar_from_char(char_u *p, int c)
{
  int len = utf_char2bytes(c, p);
  p[len] = NUL;
  return len;
}
static int schar_from_char ( char_u * p , int c ) { int len = utf_char2bytes ( c , p ) ; p [ len ] = NUL ; return len ; }
Put a unicode character in a screen cell.
Put a unicode character in a screen cell .