Skip to main content

Timeline for Loading... Forever

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Feb 2, 2017 at 8:23 history edited Metoniem CC BY-SA 3.0
deleted 134 characters in body
Feb 2, 2017 at 8:15 comment added Metoniem @CSharpie Oh, really? I'll apply that as well then! Thank you very much :) I also discovered a weird exception happening using .Clear() but I don't think this is the right place to discuss that, so I posted it on SO instead
Feb 2, 2017 at 8:04 comment added CSharpie thats nothing you need to worry about.
Feb 2, 2017 at 7:44 comment added Metoniem Woah @CSharpie that's some awesome improvements, thanks alot! I'll apply some of them, but I will have to explain why I rolled back the carriage return (I added it earlier): imgur GIF this is happening when the console window isn't wide enough, somehow. Doesn't happen using .Clear()
Feb 1, 2017 at 20:19 comment added CSharpie One small mistake, cant edit comments after 5 minutes so: Console.Write("\rLoading... "+ @"|/-\"[i=i++==3?0:i]); resulting in 142 bytes.
Feb 1, 2017 at 20:13 comment added CSharpie Instead of Console.Clear just use a carriage return infront of the string. c.Write("\rLoading... "+@"|/-\"[i]);. Then you probably can further reduce by getting rid of the using since you only need System.Console.Write("\rLoading... "+@"|/-\"[i]); You can put your ternary expression in there too, making it System.Console.Write("\rLoading... "+@"|/-\"[i=i++==4?0:i]); whilst also removing the i++ from the for-loop.
Jan 31, 2017 at 14:15 history rollback Metoniem
Rollback to Revision 5
Jan 31, 2017 at 14:10 history edited Metoniem CC BY-SA 3.0
added 139 characters in body
Jan 31, 2017 at 13:13 history edited Metoniem CC BY-SA 3.0
added 92 characters in body
Jan 31, 2017 at 13:01 history edited Metoniem CC BY-SA 3.0
added 121 characters in body
Jan 31, 2017 at 12:49 history edited Metoniem CC BY-SA 3.0
added 121 characters in body
Jan 31, 2017 at 10:57 review Late answers
Jan 31, 2017 at 11:29
Jan 31, 2017 at 10:49 history edited Metoniem CC BY-SA 3.0
added 12 characters in body
Jan 31, 2017 at 10:41 history answered Metoniem CC BY-SA 3.0