We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9ddb31 commit da2491bCopy full SHA for da2491b
1 file changed
src/ftxui/screen/terminal.cpp
@@ -22,6 +22,9 @@
22
#include <sys/ioctl.h> // for winsize, ioctl, TIOCGWINSZ
23
#include <unistd.h> // for STDOUT_FILENO
24
#endif
25
+#if defined(__sun) || defined(__illumos__)
26
+#include <sys/termios.h> // for winsize on illumos
27
+#endif
28
29
namespace ftxui {
30
@@ -108,7 +111,8 @@ struct Quirks::Impl {
108
111
109
112
Quirks::Quirks() : impl_(std::make_unique<Impl>()) {}
110
113
Quirks::~Quirks() = default;
-Quirks::Quirks(const Quirks& other) : impl_(std::make_unique<Impl>(*other.impl_)) {}
114
+Quirks::Quirks(const Quirks& other)
115
+ : impl_(std::make_unique<Impl>(*other.impl_)) {}
116
Quirks& Quirks::operator=(const Quirks& other) {
117
if (this != &other) {
118
*impl_ = *other.impl_;
0 commit comments