donut icon indicating copy to clipboard operation
donut copied to clipboard

is there a way to stop the flashing in console?

Open linuzzx opened this issue 3 years ago • 7 comments

linuzzx avatar Sep 26 '21 11:09 linuzzx

in while loop add getchar();

lanqsh avatar Sep 27 '21 11:09 lanqsh

Console says getchar(); is undefined

lanqsh @.***> schrieb am Mo., 27. Sept. 2021, 13:39:

in while loop add getchar();

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RandomThings23/donut/issues/2#issuecomment-927790242, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANTKWHTLWA4OPD7R5TMYOALUEBJYLANCNFSM5EYWQTOA .

linuzzx avatar Sep 28 '21 05:09 linuzzx

Hi @GalaxyLinus. Can you please provide more details of the issue? Which file are you having issue at? Which language are you using (Python/C/C++)?

TalhaQuddoos avatar Sep 28 '21 10:09 TalhaQuddoos

you can see my screenshot 3057D9F5-5030-4023-BC53-B1906186131A

I compile donut.c the compiler will warn you to add head file,you can type 'man getchar' in the terminal to see which head file you should add I don't add it because my compiler can generate exe file

lanqsh avatar Sep 28 '21 13:09 lanqsh

Hi @GalaxyLinus. Can you please provide more details of the issue? Which file are you having issue at? Which language are you using (Python/C/C++)?

i have the same issue,i have the code in python

ErMandraghe avatar Oct 02 '21 15:10 ErMandraghe

When I think about it, python is probably iust too slow, I'll try cyphon tomorrow

ErMandrage @.***> schrieb am Sa., 2. Okt. 2021, 17:41:

Hi @GalaxyLinus https://github.com/GalaxyLinus. Can you please provide more details of the issue? Which file are you having issue at? Which language are you using (Python/C/C++)?

i have the same issue,i have the code in python

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RandomThings23/donut/issues/2#issuecomment-932772457, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANTKWHSZTLDS2NYXTF53VM3UE4R3HANCNFSM5EYWQTOA .

linuzzx avatar Oct 02 '21 15:10 linuzzx

@GalaxyLinus, @ErMandraghe

Take a look at this pull request https://github.com/RandomThings23/donut/pull/9 or my fork of the repo.

Faster, flickering eliminated. (Using Numba and removing slow os.system() )

ShrirajHegde avatar Oct 25 '21 09:10 ShrirajHegde