JanetDocsPlaygroundI'm feeling luckyGitHub sign in

getline



    cfunction

    (getline &opt prompt buf env)

    Reads a line of input into a buffer, including the newline 
    character, using a prompt. An optional environment table can be 
    provided for auto-complete. Returns the modified buffer. Use this 
    function to implement a simple interface for a terminal program.


0 examplesSign in to add an example
Loading...