mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-04 13:38:14 +08:00 
			
		
		
		
	Remove comments when terminal size is determined.
This commit is contained in:
		@@ -13,7 +13,6 @@ Terminal::Dimensions Terminal::Size() {
 | 
				
			|||||||
#else
 | 
					#else
 | 
				
			||||||
  winsize w;
 | 
					  winsize w;
 | 
				
			||||||
  ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
 | 
					  ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
 | 
				
			||||||
  std::cerr << w.ws_col << "," << w.ws_row << std::endl;
 | 
					 | 
				
			||||||
  return Dimensions{w.ws_col, w.ws_row};
 | 
					  return Dimensions{w.ws_col, w.ws_row};
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user