On Wednesday, 9 September 2015 at 00:44:57 UTC, via Digitalmars-d-learn wrote:
On Wed, Sep 09, 2015 at 12:05:52AM +0000, Joel via Digitalmars-d-learn wrote:
Now I get the error:

What is your code calling the function? The prompt might just be too long.

import terminal;

void main() {
auto terminal = Terminal(ConsoleOutputType.linear); // I think I changed ConsoleOutputType from some thing else that didn't work
    auto line = terminal.getline("your prompt: ");
    terminal.writeln("You wrote: ", line);
}

  • OSX prompt limit Joel via Digitalmars-d-learn
    • Re: OSX prompt limit Adam D. Ruppe via Digitalmars-d-learn
      • Re: OSX prompt limit Joel via Digitalmars-d-learn
        • Re: OSX prompt l... Adam D. Ruppe via Digitalmars-d-learn
          • Re: OSX prom... via Digitalmars-d-learn
            • Re: OSX... via Digitalmars-d-learn
              • Re:... Adam D. Ruppe via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
                • ... Joel via Digitalmars-d-learn
                • ... via Digitalmars-d-learn
                • ... Joel via Digitalmars-d-learn
                • ... Adam D. Ruppe via Digitalmars-d-learn
                • ... Adam D. Ruppe via Digitalmars-d-learn
                • ... Joel via Digitalmars-d-learn
                • ... Adam D. Ruppe via Digitalmars-d-learn

Reply via email to