* Dispatcher reviewed and improved. * Minor refactoring. * XtermTerminalView initialization simplified. * Additionally simplifying XtermTerminalView initialization. * Replacing SemaphoreSlim with lighter TaskCompletionSource. * Some async/await simplification. * Resize locking mechanism in XtermTerminalView simplified. * Resize handling improved. * Trivial change in a code comment. * After merge fixes, and some minor changes.
13 lines
436 B
C#
13 lines
436 B
C#
namespace FluentTerminal.Models
|
|
{
|
|
public class TerminalSize
|
|
{
|
|
public int Columns { get; set; }
|
|
|
|
public int Rows { get; set; }
|
|
|
|
public bool EquivalentTo(TerminalSize other) => ReferenceEquals(this, other) ||
|
|
other != null && Columns.Equals(other.Columns) &&
|
|
Rows.Equals(other.Rows);
|
|
}
|
|
} |