17 #import "OFKernelEventObserver.h"
23 OF_ASSUME_NONNULL_BEGIN
37 #ifdef OF_STDIO_STREAM_WIN32_CONSOLE_H
38 OF_SUBCLASSING_RESTRICTED
41 #if !defined(OF_WINDOWS) && !defined(OF_AMIGAOS)
57 @property (readonly, nonatomic)
bool hasTerminal;
63 @property (readonly, nonatomic)
int columns;
69 @property (readonly, nonatomic)
int rows;
71 - (instancetype)init OF_UNAVAILABLE;
79 - (void)setForegroundColor: (
OFColor *)color;
87 - (void)setBackgroundColor: (
OFColor *)color;
113 - (void)setCursorColumn: (
unsigned int)column;
121 - (void)setCursorPosition: (
of_point_t)position;
129 - (void)setRelativeCursorPosition: (
of_point_t)position;
163 OF_ASSUME_NONNULL_END
void of_log(OFConstantString *format,...)
Log the specified printf-style format to of_stderr.
Definition: OFStdIOStream.m:78
OFStdIOStream *_Nullable of_stdout
The standard output as an OFStream.
Definition: OFStdIOStream.m:65
OFStdIOStream *_Nullable of_stderr
The standard error as an OFStream.
Definition: OFStdIOStream.m:66
OFStdIOStream *_Nullable of_stdin
The standard input as an OFStream.
Definition: OFStdIOStream.m:64
A class for storing a color.
Definition: OFColor.h:26
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:42
A class for providing standard input, output and error as OFStream.
Definition: OFStdIOStream.h:41
A base class for different types of streams.
Definition: OFStream.h:191
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
Definition: OFKernelEventObserver.h:85
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
Definition: OFKernelEventObserver.h:100
A point.
Definition: OFObject.h:145