get char on screen

Ell*_*tch 3 c++ ncurses

I've looked through the NCurses function list, and I can't seem to find a function that returns the characters already printed on the screen. Is there an accessible value for the char stored in each character cell? If not, is there a similar function in the Windows terminal?

我想用它来用a不同的字符或新的属性替换屏幕上某个值(例如:所有的)的所有字符。

Ell*_*tch 5

该函数inch()获取字符并将其作为chtype. 用于winch()从窗口以外的窗口获取字符stdscr