Skip to content

Dynamic resizing #6

@anuvindbhat

Description

@anuvindbhat

Redrawing of the UI can be made dynamic by using wgetch() instead of wgetstr() to read input character-by-character and then checking for KEY_RESIZE to call the redraw_ui() function. However, this would require finding the relevant special characters (some of which wgetstr() already handles, like backspace) and then handling them appropriately.
Another benefit of doing this is that we get greater flexibility than what wgetstr() provides when handling special characters (KEY_LEFT can be handled like in modern editors).
The list of special characters can be found at ncurses special characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions