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