ArgieAnon

“Print” Command Fix

Dec 11th, 2019
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. There seems to be an error in the "print" command, it doesn't word wrap the output like the other generated texts. If you want to change that:
  2.  
  3. 1) Edit play.py below the code;
  4. "elif action == "print":"
  5.  
  6. 2) And change:
  7. print(str(story_manager.story))
  8.  
  9. to
  10.  
  11. console_print(str(story_manager.story))
  12.  
  13. If you want a fancier version, see pic: >https://i.ibb.co/4ZB8VK4/1576037241369-fix-print-command.png.
  14. You can also enter a number to set the width you want.
Advertisement
Add Comment
Please, Sign In to add comment