mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			579 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			579 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, the SerenityOS developers.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Types.h>
 | |
| #include <LibLine/Style.h>
 | |
| 
 | |
| namespace Line {
 | |
| namespace VT {
 | |
| 
 | |
| ErrorOr<void> save_cursor(Stream&);
 | |
| ErrorOr<void> restore_cursor(Stream&);
 | |
| ErrorOr<void> clear_to_end_of_line(Stream&);
 | |
| ErrorOr<void> clear_lines(size_t count_above, size_t count_below, Stream&);
 | |
| ErrorOr<void> move_relative(int x, int y, Stream&);
 | |
| ErrorOr<void> move_absolute(u32 x, u32 y, Stream&);
 | |
| ErrorOr<void> apply_style(Style const&, Stream&, bool is_starting = true);
 | |
| 
 | |
| }
 | |
| }
 | 
