Skip to content

Version 3 discussion #133

Description

@adsr

Below are my proposals for termbox2 v3. Feedback is encouraged.

  1. Remove deprecated macros and functions. Notices have been in place for 2 years. This is an ABI break.
  2. Add the following features. See links for rationale.
    1. Add tb_init_ex #132
    2. Add support for arbitrary escape sequences #124
    3. Add support for getting raw input #128
    4. Add support for inline TUIs #74
    5. Add a TB_INPUT_ALT_ESC input mode.
    6. Add init options for supplying a grapheme parser and grapheme width calc

I propose punting on Windows and WASM support. In order to do these properly, we either need a lot more ifdefs, a build phase, multiple source files, or some combination of those. All of those are big changes. Multiple source files with an amalgamated single-header file that we periodically or automatically rebuild remains a potential future option.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions