Closed alexrp closed 2 years ago
Related: TextReader.Synchronized
and TextWriter.Synchronized
return instances where even the asynchronous methods run synchronously. We should see if there's a better way.
Related:
TextReader.Synchronized
andTextWriter.Synchronized
return instances where even the asynchronous methods run synchronously. We should see if there's a better way.
Addressed in f559b4da9c07e82b54073ce53eda83a1704eaecd.
https://github.com/alexrp/system-terminal/blob/b898186ffa1ec21e0a235d9b3b811253ec3b515b/src/core/IO/TerminalReader.cs#L11-L19
https://github.com/alexrp/system-terminal/blob/b898186ffa1ec21e0a235d9b3b811253ec3b515b/src/core/IO/TerminalWriter.cs#L10-L21
These properties should be made
abstract
like theStream
property. The implementation code above should be moved intoNativeTerminalReader
/NativeTerminalWriter
.