Query regarding design of TUI for convex #32
Answered
by
aditya-an1l
sproutcake23
asked this question in
Q&A
-
Greetings everyone, I have some questions and requests:
|
Beta Was this translation helpful? Give feedback.
Answered by
aditya-an1l
Oct 23, 2025
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sproutcake23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Based on my understanding, here’s what we can do:
1. How can a user provide input within the TUI environment?
There are three primary ways to handle user input within the TUI:
File Input:
The user can select or specify the path to a file containing the code to be translated or executed.
Inline Editor:
A built-in text editor where the user can directly type or paste their code. This allows quick experimentation and avoids dependency on external files.
Interpreted Mode:
Similar to a Python interpreter, this mode lets users enter and execute small snippets of code interactively.
2. Rough Sketch for the TUI
Here’s a possible starting point for the TUI layout. This is just an initial c…