blob: 77190153adf7711a6b900b2e752ee7d50d5b35c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* 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);
}
}
|