Skip to content

Enhance terminal input widget #7

@y0014984

Description

@y0014984

The terminal input is now a separate EditBoxWidget, that will change it's position due to the active line in terminal and due to the length of the current prompt. The EditBoxWidget has some additional features that could help in setting up new features but it could became more complicated in some cases:

  • EditBoxWidget supports obsfuscation (replace characters with a character like '*' to hide the text input) so it's easy to use it for password inputs
  • There is also a MultilineEditBoxWidget that could be used in case of an text editor
  • If we implement the scaling of font sizes, we need to recalculate the position of the EditBoxWidget
  • EditBoxWidget hat a 'Limit visable' property, that prevents inputing longer texts as they would fit inside; Bose cases are interesting; If not limited the texts scrolls horizontally; The 'limit' option seems to be broken, because it's not updating after resizing the widget and unfortunately, there is no command to disable and reenable the 'limit' option

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions