diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-11-18 16:09:54 +0000 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-11-18 16:09:54 +0000 |
| commit | 65b7ac2b8cbc4478f6d31a21f106048aeb075078 (patch) | |
| tree | e4c140c5c256cc384d4ffaf370b262a3230f78cc /ShiftOS.Main/Terminal/Commands | |
| parent | b2f7322f3072ff90c8e6039ec4b3219d3c3fb919 (diff) | |
| download | shiftos-rewind-65b7ac2b8cbc4478f6d31a21f106048aeb075078.tar.gz shiftos-rewind-65b7ac2b8cbc4478f6d31a21f106048aeb075078.tar.bz2 shiftos-rewind-65b7ac2b8cbc4478f6d31a21f106048aeb075078.zip | |
Removed Input() stuff!
Diffstat (limited to 'ShiftOS.Main/Terminal/Commands')
| -rw-r--r-- | ShiftOS.Main/Terminal/Commands/Hello.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ShiftOS.Main/Terminal/Commands/Hello.cs b/ShiftOS.Main/Terminal/Commands/Hello.cs index efc9a9a..a826532 100644 --- a/ShiftOS.Main/Terminal/Commands/Hello.cs +++ b/ShiftOS.Main/Terminal/Commands/Hello.cs @@ -14,12 +14,10 @@ namespace ShiftOS.Main.Terminal.Commands public override string Usage { get; } = "Hello <NAME>."; public override bool Unlocked { get; set; } = false; - public override async void Run(params string[] parameters) + public override void Run(params string[] parameters) { string name = string.Join(" ", parameters); - WriteLine($"Oh, hello, {name}.", Color.Red); - string age = await Input("Hey, What's your age?"); - WriteLine($"Ok, so your name is {name} and your age {age}."); + WriteLine($"Oh, hello, {name}."); } } } |
