src/nvim/screen.c
/// output a single character directly to the grid
output a single character directly to the grid
output a single character directly to the grid
void grid_putchar(ScreenGrid *grid, int c, int row, int col, int attr)
{
  char_u buf[MB_MAXBYTES + 1];
  buf[utf_char2bytes(c, buf)] = NUL;
  grid_puts(grid, buf, row, col, attr);
}
void grid_putchar ( ScreenGrid * grid , int c , int row , int col , int attr ) { char_u buf [ MB_MAXBYTES + 1 ] ; buf [ utf_char2bytes ( c , buf ) ] = NUL ; grid_puts ( grid , buf , row , col , attr ) ; }
output a single character directly to the grid
output a single character directly to the grid