/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Line::VT { ErrorOr save_cursor(Stream&); ErrorOr restore_cursor(Stream&); ErrorOr clear_to_end_of_line(Stream&); ErrorOr clear_lines(size_t count_above, size_t count_below, Stream&); ErrorOr move_relative(int x, int y, Stream&); ErrorOr move_absolute(u32 x, u32 y, Stream&); ErrorOr apply_style(Style const&, Stream&, bool is_starting = true); }