Jump to content




Autocomplete for read()


1 reply to this topic

#1 SoruCoder

  • Members
  • 5 posts

Posted 26 February 2018 - 08:29 PM

How do I code a function for an autocomplete function for read? For context, I am making an error handler generator for functions in source code, which asks the user for the type of each argument in every function (so the user types "n", and up comes "number").

#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 27 February 2018 - 04:29 AM

I recommend taking a look at the existing completion functions which ComputerCraft uses internally to provide the autocompletion you see in the shell.

Edited by KingofGamesYami, 27 February 2018 - 04:30 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users