Minimal streaming compatibility for the original MarketDepthModelSample. This API does not run an Application, perform rendering, or own a terminal session. The caller serializes and flushes output and must not mix it with an active Application.
More...
|
| struct | VirtualTerminal |
| | Enable VT interpretation on the process's existing standard output. This stateless compatibility utility neither changes input mode nor opens a console. It does not restore output mode; use the retained Application for an owned terminal lifetime. More...
|
|
| std::string | moveTo (std::size_t line, std::size_t column) |
| | Return a cursor-position sequence without performing I/O.
|
| std::string | hideCursor () |
| | Return the VT cursor-hide sequence; ignoring the result has no effect.
|
| std::string | showCursor () |
| | Return the VT cursor-show sequence; ignoring the result has no effect.
|
Minimal streaming compatibility for the original MarketDepthModelSample. This API does not run an Application, perform rendering, or own a terminal session. The caller serializes and flushes output and must not mix it with an active Application.
◆ hideCursor()
| std::string portals::legacy::hideCursor |
( |
| ) |
|
Return the VT cursor-hide sequence; ignoring the result has no effect.
- Returns
- Owning ESC[?25l string; the caller must output and flush it.
- Exceptions
-
| std::bad_alloc | If string allocation fails. |
◆ moveTo()
| std::string portals::legacy::moveTo |
( |
std::size_t | line, |
|
|
std::size_t | column ) |
Return a cursor-position sequence without performing I/O.
- Parameters
-
| line | VT row number, normally one-based. Zero is emitted unchanged and means row one in VT. |
| column | VT column number, normally one-based. Zero is emitted unchanged and means column one in VT. |
- Returns
- Owning ESC[line;columnH string, suitable for concatenation and stream insertion. Coordinates are not converted from CellPoint's zero-based convention or clamped to screen bounds.
- Exceptions
-
| std::bad_alloc | If string allocation fails. |
◆ showCursor()
| std::string portals::legacy::showCursor |
( |
| ) |
|
Return the VT cursor-show sequence; ignoring the result has no effect.
- Returns
- Owning ESC[?25h string; the caller must output and flush it.
- Exceptions
-
| std::bad_alloc | If string allocation fails. |