Code Monkey home page Code Monkey logo

Comments (11)

MaFeLP avatar MaFeLP commented on May 30, 2024 1

Hi!

Sadly, Microsoft does not enable escape codes by default in the Command Prompt and users have to set a specific Registry-Key to enable them. Below you should find a detailed description:

  1. Press and hold the windows-key, next to your Ctrl-key.
  2. Press the letter R on your keyboard.
  3. Release both keys.
  4. Empty the box, that popped up in the bottom left corner of your screen.
  5. If it is empty, type regedit and then press OK.
  6. If asked a user control prompt, click Yes.
  7. In the Registry window, you should see a bar on the left hand side, like the one in your explorer. In there, navigate to the folder Computer\HKEY_CURRENT_USER\Console.
  8. On the right hand side of the window, you should now see many values, having in it ColorTable00, ColorTable01, etc.
  9. In the empty white space on the right/middle of this window, make a right click and select New -> DOWRD (32-bit).
  10. If prompted for the name, type VirtualTerminalLevel and click on OK.
  11. Then double-click the newly created value (should be highlighted blue).
  12. A new window should have popped up, asking you for the value.
  13. Set the value to 1 and click OK.
  14. You can now close this window.

If this solved your problem, please remember to close the issue. If this solution didn't help, feel free to tell me!

from pokete.

lxgr-linux avatar lxgr-linux commented on May 30, 2024

Normally this should be fixed by the os.system("") statement in the code, but this may be caused by the python from the microsoft store.

from pokete.

Bambaclad1 avatar Bambaclad1 commented on May 30, 2024

image
Its still occours, am i supposed to restart my laptop to let the changes make effect?

from pokete.

lxgr-linux avatar lxgr-linux commented on May 30, 2024

Try restarting.

from pokete.

Bambaclad1 avatar Bambaclad1 commented on May 30, 2024

It still looks like that, and if i press any keys like wasd most text will glitch and it will cut half of the screen.

from pokete.

lxgr-linux avatar lxgr-linux commented on May 30, 2024

have you tried the python that's not from the microsoft store?

from pokete.

Bambaclad1 avatar Bambaclad1 commented on May 30, 2024

I did, i got python from the site itself and removed the ms store one.

from pokete.

Bambaclad1 avatar Bambaclad1 commented on May 30, 2024

This is weird... I wanted to show some friends on my on school about this project but it works well... I'm gonna mess with the settings and see if it gets fixed and then tell you what fixed it.

from pokete.

lxgr-linux avatar lxgr-linux commented on May 30, 2024

That would be good to know.

from pokete.

Bambaclad1 avatar Bambaclad1 commented on May 30, 2024

Fixed it! I found the issue in use old console for cmd, this fricked up the game.
Incase you wanna know the fix,
Open commandprompt, Properties, Options and disable old commandprompt
image
which is the one called Veroudere Console...

from pokete.

lxgr-linux avatar lxgr-linux commented on May 30, 2024

That's very good to know, thanks for updating this!

from pokete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.