Home of the simple console library consisting of ProgressBar, Window, Form, Draw & MockConsole (C# console progress bar with support for single or multithreaded progress updates) Window is a 100%-ish console compatible window, supporting all normal console writing to a windowed section of the screen, supporting scrolling and clipping of console output.
console.SplitColumns(new Split(10, "left"), new Split("wild1"), new Split(20, "middle"), new Split("wild2"), new Split(20,"right"));
var rows = con.SplitRows("top", "middle", "bottom");
even split across new windows.WriteResults
returns the result of writing to a buffer row, including any overflow.IPeek
interface to tell what's at a screen location, added to Window
and MockConsole
.
Row Peek(int sx, int sy, int width);
Cell Peek(int sx, int sy);
Row[] Peek(ConsoleRegion region);
Cell
is now public.
Cell
now has Colors
property to read the foreground and background at once.Row
is now public.IConsole
void Write(Colors colors, string text);
IWrite
void WriteLine(Colors colors, string text);
ListView
and DirectoryListView
Colors.cs
IConsole
implements ITheme
meaning that controls, like ListView
inherit their theme from their parent window.bugfix - #72 Fix critical bug : Embedded CrLf cause window isolation to break.
Konsole.Platform.Windows.HighSpeedWriter
(native windows driver) now included and no longer an external package.IConsole
interfaces for simpler abstractions, see new contract docs [here]Write
ends exactly on the last column, then the cursor is not advanced to the next line.Konsole.Platform.Windows.HighSpeedWriter
(native windows driver) now included and no longer an external package.IConsole
interfaces for simpler abstractions, see new contract docs [here]Write
ends exactly on the last column, then the cursor is not advanced to the next line.new ConcurrentWriter()
now returns a thread safe concurrent writer that continues writing to the current console as if it were the console. Previously the concurrentwriter required a window instance. That still exists but you can now create a ConcurrentWriter
without needing to first create a window. This allows for thread safe writing to the console without needing a window. See the new section in the readme under Threading
for more information and for examples.