Text Window Input-Output Control

version 2 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Hacked printing the command prompt routine

    Include (-

    [ PrintPrompt i;
        !style roman;
        !EnsureBreakBeforePrompt();
        !glk_set_window( (+ current text input window +).ref_number );
        !PrintText( (+ command prompt +) );
        !glk_set_window( (+ current text output window +).ref_number );
        !ClearBoxedText();
        !ClearParagraphing();
        CarryOutActivity( (+ printing the command prompt +) );
        enable_rte = true;
    ];

    -) instead of "Prompt" in "Printing.i6t"