I have written a simple CLI that navigates the filesystem.
The CLI uses FabGL's Terminal, VGATextController and PS2Controller.
It works just fine.
I would like to use it to launch some applications. I tried "kilo", an open source text editor.
Kilo works just fine when I compile it alone.
But when I launch it from the CLI, I get problems.
Either it crashes or the program hangs somewhere in Keyboard::getNextVirtualKey().
When I launch Kilo, I pass to it the same VGATextController and PS2Controller used by the CLI.
For the Terminal, I tried several things: passing the same terminal, creating a new one at the beginning, creating a new one when I launch Kilo.
Nothing works.
Any idea?
Multiple terminals with FabGL
-
- Posts: 826
- Joined: Mon Jul 22, 2019 3:20 pm
Re: Multiple terminals with FabGL
I don't know how kilo is setting up the keyboard there, but STDIN & STDOUT on esp32 are usually attached to the Serial device. You will need to figure out how it is expecting the input.
Who is online
Users browsing this forum: daniel_3in, Google [Bot] and 59 guests