Skip to content

Commit

Permalink
Switch to /// comments.
Browse files Browse the repository at this point in the history
Per the discussion in WebAssembly/component-model#286, remove some `//`
comments which had been intended as non-documentation comments to `///`
documentation comments.
  • Loading branch information
sunfishcode committed Jan 9, 2024
1 parent d67056b commit 6c5539e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions wit/terminal.wit
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
/// Terminal input.
///
/// In the future, this may include functions for disabling echoing,
/// disabling input buffering so that keyboard events are sent through
/// immediately, querying supported features, and so on.
interface terminal-input {
/// The input side of a terminal.
resource terminal-input;

// In the future, this may include functions for disabling echoing,
// disabling input buffering so that keyboard events are sent through
// immediately, querying supported features, and so on.
}

/// Terminal output.
///
/// In the future, this may include functions for querying the terminal
/// size, being notified of terminal size changes, querying supported
/// features, and so on.
interface terminal-output {
/// The output side of a terminal.
resource terminal-output;

// In the future, this may include functions for querying the terminal
// size, being notified of terminal size changes, querying supported
// features, and so on.
}

/// An interface providing an optional `terminal-input` for stdin as a
Expand Down

0 comments on commit 6c5539e

Please sign in to comment.