// Copyright 2015 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
module mojo; | |
// A super simple readline interface. | |
interface Console { | |
// Retrieves a line. | |
ReadLine() => (bool success, string line); | |
// Prints one or more lines. Responds when the lines have been | |
// output. |lines| can be an empty array. | |
PrintLines(array<string> lines) => (bool success); | |
}; |