mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
LibLine: Port most functions to Core::Stream
This commit is contained in:
parent
0ab29cffd2
commit
f9f1e1dd49
5 changed files with 102 additions and 101 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue