1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

LibLine: Port most functions to Core::Stream

This commit is contained in:
Tim Schumacher 2023-01-10 12:21:17 +01:00 committed by Sam Atkins
parent 0ab29cffd2
commit f9f1e1dd49
5 changed files with 102 additions and 101 deletions

View file

@ -23,6 +23,7 @@
#include <LibCore/EventLoop.h>
#include <LibCore/Notifier.h>
#include <LibCore/Object.h>
#include <LibCore/Stream.h>
#include <LibLine/KeyCallbackMachine.h>
#include <LibLine/Span.h>
#include <LibLine/StringMetrics.h>
@ -392,7 +393,7 @@ private:
}
void recalculate_origin();
void reposition_cursor(OutputStream&, bool to_end = false);
void reposition_cursor(Core::Stream::Stream&, bool to_end = false);
struct CodepointRange {
size_t start { 0 };