NiGui
NiGui copied to clipboard
Possible to make a terminal emulator?
Hello, are there any options if I want to make a terminal emulator with NiGui? From what I find, and this is most likely unrelated to NiGui, there's libvte for GTK, but there seems to be very little documentation for such things. Is there any such library I can use for NiGui? If not, is it terribly difficult to write your own terminal? Thanks in advance! :smile:
NiGui support only very basic widgets so far. If you want to use the Gtk vte terminal widget, you can write a ~~wrapper~~ binding and use it directly. Or you can program a terminal widget by your own using Nim's functions to read/write from stdin/stdout and using NiGui to draw the text.
Writing my own terminal sounds too daunting! Any pointers you can give me on wrapping around the Vte library? How do we create wrappers, where do I start, etc.? Thanks in advance! :pray:
gintro has VTE wrapper