View Single Post
Old 08-27-2019, 02:51 PM   #438
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by rien333 View Post
Preferably, I would like to write a little terminal application
Well, the Calculator is already a terminal that runs bin/ivy/ivy!

The problem you'll face is that the current handling of standard output and error is line based. It works because ivy is told not to display a prompt and ends every output with a new line character.

If you were to write a general terminal application, it'll have to be character based. And unfortunately, when I tried this approach, I wasn't able to prevent the standard output and error to intertwine, producing an unreadable mess.

Quote:
Originally Posted by rien333 View Post
@baskerville What does your development process look like?
I'm using the emulator: cargo run --bin plato-emulator --features emulator.

For this to work, you'll have to install the required dependencies.

A few notes regarding the above instructions:
  • The emulator requires an additional dependency: SDL2.
  • I'm now targeting MuPDF 1.16.0.
baskerville is offline   Reply With Quote