normalized property

GhosttyTerminalSelection get normalized

Returns this selection ordered from top-left to bottom-right.

Implementation

GhosttyTerminalSelection get normalized {
  if (base.compareTo(extent) <= 0) {
    return this;
  }
  return GhosttyTerminalSelection(base: extent, extent: base);
}