message: [terminal] Size: comparison operator impl cleanup
diff: @@ -42,34 +42,42 @@ inline std::ostream& operator<<(std::ostream& _os, Coordinate const& _coord)
  return _os << "{" << _coord.row << ", " << _coord.column << "}";
  }
  -constexpr inline bool operator<(Coordinate const& a, Coordinate const& b) noexcept
  +constexpr inline int compare(Coordinate const& a, Coordinate const& b) noexcept
  {
  - if (a.row < b.row)
  - return true;
  - else if (a.row == b.row)
  - return a.column < b.column;
  + if (auto const dr = a.row - b.row; dr != 0)
  + return dr;
  else
  - return false;
  + return a.column - b.column;
  }
  -constexpr inline bool operator==(Coordinate const& a, Coordinate const& b) noexcept
  +constexpr inline bool operator<(Coordinate const& a, Coordinate const& b) noexcept
  {
  - return a.row == b.row && a.column == b.column;
  + return compare(a, b) < 0;
  }
  -constexpr inline bool operator!=(Coordinate const& a, Coordinate const& b) noexcept
  +constexpr inline bool operator<=(Coordinate const& a, Coordinate const& b) noexcept
  {
  - return !(a == b);
  + return compare(a, b) <= 0;
  }
  constexpr inline bool operator>(Coordinate const& a, Coordinate const& b) noexcept
  {
  - if (a.row > b.row)
  - return true;
  - if (a.row == b.row)
  - return a.column > b.column;
  - else
  - return false;
  + return compare(a, b) > 0;
  +}
  +
  +constexpr inline bool operator>=(Coordinate const& a, Coordinate const& b) noexcept
  +{
  + return compare(a, b) >= 0;
  +}
  +
  +constexpr inline bool operator==(Coordinate const& a, Coordinate const& b) noexcept
  +{
  + return a.row == b.row && a.column == b.column;
  +}
  +
  +constexpr inline bool operator!=(Coordinate const& a, Coordinate const& b) noexcept
  +{
  + return !(a == b);
  }
  struct [[nodiscard]] Size {
  