Added support for Console auto-complete

This commit is contained in:
2019-08-08 20:23:48 -05:00
parent c89586c286
commit a82e71cea7
5 changed files with 71 additions and 8 deletions

View File

@@ -10,6 +10,11 @@ class IMICFPS
end
def handle(arguments, console)
if arguments.size > 1
console.stdin("to many arguments for #{Style.highlight("#{command}")}, got #{Style.error(arguments.size)} expected #{Style.notice(1)}.")
return
end
case arguments.last
when "", nil
console.stdin("#{Style.highlight("fps")}: #{$debug.get(:fps)}")