View Categories

Terminal Output Types

2 min read

The Cointacted Social Terminal prints different types of output depending on the command and its result.
Everything appears inside the output window, using a clean monospace layout for perfect alignment.

This article explains each type of output the terminal supports.


1. Command Output (User Input Echo) #

When a user executes a command, the terminal first prints the command itself, for example:

rosvaldas> help

This mirrors the behavior of real terminals, preserving clarity and history.

It always shows:

  • the current prompt (username>)
  • the command exactly as typed

This echo is automatic and cannot be disabled, ensuring full transparency.


2. System Output #

System output is the default output type used by internal commands such as:

  • welcome
  • help
  • theme
  • wallet
  • and other built-in system messages

Examples:

Welcome back!
Type 'help' to see available commands.

System output appears in the theme’s text color and the terminal’s monospace font.


3. Error Output #

If a command is unknown, invalid, or fails, the terminal prints an error message.

Default example:

Error: Command not found.

Error messages:

  • appear in the terminal’s designated “error” color
  • stand out clearly
  • follow monospace formatting
  • are short and easy to read

Add-ons can customize error wording and style if needed.


4. Success Output #

Some commands or add-ons return a confirmation message when an operation completes successfully.

Example:

Success: Settings updated.

Success output is styled in a green-toned color for clarity and consistency.


5. Multi-Line Output #

Commands such as help or add-ons like Social Mining may return multiple lines.

Example:

Available commands:
- help
- clear
- wallet

The terminal handles multi-line output gracefully:

  • no spacing issues
  • no overlapping
  • no theme conflicts
  • clean text wrapping

6. Add-On Output (Custom Types) #

Add-ons can inject their own output types such as:

  • lists
  • status tables
  • reward messages
  • transaction links
  • profile summaries
  • badges unlocked
  • chain/network info

All output is rendered through the same safe, monospace output engine.

This keeps formatting consistent across the entire ecosystem.


7. Developer Output #

Developers building custom commands can append output using:

cointacted_social_terminal_append_line("Message", "system");

Or specify another output type such as:

  • "error"
  • "success"
  • "custom"

The terminal automatically applies correct formatting.


Summary #

The terminal supports several output types:

  • User command echo
  • System output
  • Error output
  • Success output
  • Multi-line output
  • Add-on output
  • Developer-defined output

Everything is formatted cleanly in the monospace terminal style, ensuring a consistent and authentic command-line experience.

Leave a Reply

Your email address will not be published. Required fields are marked *