-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
REPLJulia's REPL (Read Eval Print Loop)Julia's REPL (Read Eval Print Loop)docsThis change adds or pertains to documentationThis change adds or pertains to documentation
Description
I have found some of the functionality in REPL.Terminals very useful, namely the functionality to move the cursor.
However, it is lacking in documentation, and seems only partly finished.
I would love to see it polished up more, with added docstrings and example usage. Otherwise, it feels like it should be deprecated, or be more limited in scope.
For example, the following code is found there
# Terminal interface:
pipe_reader(::TextTerminal) = error("Unimplemented")
pipe_writer(::TextTerminal) = error("Unimplemented")
displaysize(::TextTerminal) = error("Unimplemented")
cmove(t::TextTerminal, x, y) = error("Unimplemented")
getX(t::TextTerminal) = error("Unimplemented")
getY(t::TextTerminal) = error("Unimplemented")
pos(t::TextTerminal) = (getX(t), getY(t))
But it seems like there is no version of these functions other than these fallbacks. Furthermore, there is a type hierarchy with AbstractTerminal, TextTerminal, and UnixTerminal, but only UnixTerminal exists as a concrete type. This seems very partly finished. So the scaffolding should be fleshed out, or removed.
Metadata
Metadata
Assignees
Labels
REPLJulia's REPL (Read Eval Print Loop)Julia's REPL (Read Eval Print Loop)docsThis change adds or pertains to documentationThis change adds or pertains to documentation