mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-01 02:58:12 +08:00 
			
		
		
		
	Merge pull request #9 from alfishe/master
Fix compilation issue on macOS(CLang compiler)
This commit is contained in:
		| @@ -11,6 +11,11 @@ | |||||||
| #include "ftxui/screen/string.hpp" | #include "ftxui/screen/string.hpp" | ||||||
| #include "ftxui/screen/terminal.hpp" | #include "ftxui/screen/terminal.hpp" | ||||||
|  |  | ||||||
|  | #if defined(__clang__) && defined (__APPLE__) | ||||||
|  |     // Quick exit is missing in standard CLang headers | ||||||
|  |     #define quick_exit(a) exit(a) | ||||||
|  | #endif | ||||||
|  |  | ||||||
| namespace ftxui { | namespace ftxui { | ||||||
|  |  | ||||||
| static const char* HIDE_CURSOR = "\e[?25l"; | static const char* HIDE_CURSOR = "\e[?25l"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Arthur Sonzogni
					Arthur Sonzogni