REPL/terminal widget #10
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
windows
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kahliburke/Tachikoma.jl#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How feasible would it be to support a Julia REPL widget? Or maybe even an embedded terminal widget, which would subsume REPL functionality, although you could have a REPL widget then that is a terminal widget that launches a Julia session inside of it.
@StefanKarpinski, thanks for the interest in the project! I'll make it happen, sounds like a great idea and very feasible. :)
It's Julia, all the way down!
Oh wow, that was quick! Very cool. To give a little hint of what I'm interested in: I'd really like to build a terminal-based slide presentation program that can embed a live Julia REPL so that instead of having to switch windows in order to do a REPL demo, I can do the demo in the middle of my presentation.
@StefanKarpinski , thanks for the clarification on the use case. So something like this (see linked video)?
https://www.dropbox.com/scl/fi/0ul4k76ktbn35ms5s1ydq/TerminalSlides.mov?rlkey=776a5j893c3b7qocbq3i3dhet&dl=0
Let me know if this hits the main points you're thinking about? It's based on Markdown for the slide content and executes Julia code side by side in the same Julia process.
I'll be releasing the new version 1.1 soon, the terminal/REPL support will still be a bit experimental as there are differences in terminals and I haven't been able to test on Windows. The REPL widget would be easier to support in Windows whereas the terminal widget may be more difficult as it is trying to provide/emulate a full VT-100 style terminal.
Wow, that's an amazing demo. Way fancier and more capable than anything I had imagined!
Shipped in v1.1.0. Both widgets are available:
TerminalWidget— embedded terminal with PTY integration, full ANSI rendering, and subprocess supportREPLWidget— in-process Julia REPL that shares all loaded modules and variables with the host applicationBoth support tab completion, colors, cursor positioning, and interactive programs. The REPL widget includes Pkg mode (
]), help mode (?), and shell mode (;).Documentation: https://kahliburke.github.io/Tachikoma.jl/terminal-repl
Absolutely incredible work and you did it so fast! I'm blown away.