mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-04 13:38:14 +08:00 
			
		
		
		
	Set the correct key for "return" on Window.
This is related to: https://github.com/ArthurSonzogni/FTXUI/issues/27
This commit is contained in:
		
				
					committed by
					
						
						Arthur Sonzogni
					
				
			
			
				
	
			
			
			
						parent
						
							e3ca437a48
						
					
				
				
					commit
					5f624431f1
				
			@@ -166,7 +166,11 @@ Event Event::ArrowDown = Event::Special("\x1B[B");
 | 
			
		||||
Event Event::Backspace = Event::Special({127});
 | 
			
		||||
Event Event::Delete = Event::Special("\x1B[3~");
 | 
			
		||||
Event Event::Escape = Event::Special("\x1B");
 | 
			
		||||
#if defined(_WIN32)
 | 
			
		||||
Event Event::Return = Event::Special({13});
 | 
			
		||||
#else
 | 
			
		||||
Event Event::Return = Event::Special({10});
 | 
			
		||||
#endif
 | 
			
		||||
Event Event::Tab = Event::Special({9});
 | 
			
		||||
Event Event::TabReverse = Event::Special({27, 91, 90});
 | 
			
		||||
Event Event::F1 = Event::Special("\x1B[OP");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user