0
0
0x0000002F2021-12-23 23:22:37
Command line
0x0000002F, 2021-12-23 23:22:37

Is it possible to remove the "flashing" of the console?

Hello! Straight to the point... You need to display and clear symbols in the console very quickly. But because of this, she blinks unpleasantly. Can this be removed somehow? Even if you have to set it in the system settings. I am using Windows.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2021-12-24
@res2001

Maybe you don't need to clear the screen? Just display the next frame next, but so that it occupies the entire window, the previous one will be shifted up.

H
hint000, 2021-12-24
@hint000

downloaded a python project from github that allows you to convert MP4 and watch video in the console via ASCII. Everything works very quickly, but the console flashes unpleasantly.

In ancient times, how they worked with dynamic graphics: they took two buffers, one of them was displayed on the screen, the next frame was drawn on the second; when the frame was finished, the buffers were swapped (not the contents of the buffers, but their roles).
Here the task is slightly different. It is enough to take one buffer the size of the console screen (X*Y characters). The next frame needs to be drawn in the buffer, and then quickly copy the finished frame. And no erasing. Just copying the entire frame.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question