efi_loader: fix EnableCursor()
The EnableCursor() service of the simple text output protocol must update the the CursorVisible field of the output mode. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
		
							parent
							
								
									22f23db428
								
							
						
					
					
						commit
						25e6fb5e93
					
				|  | @ -430,6 +430,7 @@ static efi_status_t EFIAPI efi_cout_enable_cursor( | ||||||
| 	EFI_ENTRY("%p, %d", this, enable); | 	EFI_ENTRY("%p, %d", this, enable); | ||||||
| 
 | 
 | ||||||
| 	printf(ESC"[?25%c", enable ? 'h' : 'l'); | 	printf(ESC"[?25%c", enable ? 'h' : 'l'); | ||||||
|  | 	efi_con_mode.cursor_visible = !!enable; | ||||||
| 
 | 
 | ||||||
| 	return EFI_EXIT(EFI_SUCCESS); | 	return EFI_EXIT(EFI_SUCCESS); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue