Skip to content

SimpleUI

Redwyn edited this page Jun 13, 2022 · 2 revisions

About

SimpleUI, even if it may not be all that simple is intended to be a custom UI renderer specific to fTerm.

As of right now It's primary purpose is to provide a means of sending messages and queries to both the fControl wrapper and serve as a means for the wrapper to provide usable feedback for the end-user.

Various features are planned but the main thing to note is that implementing the necessary framework for cursors to function is the first goal that needs to be achieved before that can happen. Eventually support is planned for Windows. Mac support may arrive one day but that is dependent on me obtaining a Macbook to perform platform-specific development on.

Planned funcionality

Below is a list of functionality that I am considering, even if it may be not be within the issues tab of the repo.

  • UI rendering "modes"; This would allow for changing the style of a pane from the original "rolling-log" style to something such as a settings pane or search panel
  • Rolling tabs; allowing users to manage more tabs than may be possible to squeeze on the screen at one time.
  • Dropdown menus/tabs.
  • Pane templates; essentially macros for defining a pane with JSON.

Events

SimpleUI produces the following events:

  • QuerySent: Reports when the user submits a query with the enter key.
    • Reports: { message(string) }
  • tabChanged: Reports when the active tab has been changed.
    • Reports: paneID(string)

Clone this wiki locally