summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibLine/VT.h
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-01-13 12:29:46 +0100
committerSam Atkins <atkinssj@gmail.com>2023-01-16 21:04:48 +0000
commit40cb41a16cf0cb6b2711eb5be6facddd2540e13a (patch)
tree6d44889cb65ae06dcac44ddab0ef2cdf5f5f70a6 /Userland/Libraries/LibLine/VT.h
parentf9f1e1dd4956c92ca33f8562739f224d6e80c323 (diff)
downloadserenity-40cb41a16cf0cb6b2711eb5be6facddd2540e13a.zip
LibLine: Do a whole bunch of internal error propagation
Diffstat (limited to 'Userland/Libraries/LibLine/VT.h')
-rw-r--r--Userland/Libraries/LibLine/VT.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Libraries/LibLine/VT.h b/Userland/Libraries/LibLine/VT.h
index 5927ef095b..a674915eea 100644
--- a/Userland/Libraries/LibLine/VT.h
+++ b/Userland/Libraries/LibLine/VT.h
@@ -13,13 +13,13 @@
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);
+ErrorOr<void> save_cursor(Core::Stream::Stream&);
+ErrorOr<void> restore_cursor(Core::Stream::Stream&);
+ErrorOr<void> clear_to_end_of_line(Core::Stream::Stream&);
+ErrorOr<void> clear_lines(size_t count_above, size_t count_below, Core::Stream::Stream&);
+ErrorOr<void> move_relative(int x, int y, Core::Stream::Stream&);
+ErrorOr<void> move_absolute(u32 x, u32 y, Core::Stream::Stream&);
+ErrorOr<void> apply_style(Style const&, Core::Stream::Stream&, bool is_starting = true);
}
}