feat(ui): add support to display a title in the border of a float (#20184)

add "title" and "title_pos" keys to win config dict.
This commit is contained in:
Raphael
2022-11-06 18:59:43 +08:00
committed by GitHub
parent a79d28e4d7
commit 1af4bd04f9
12 changed files with 371 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ typedef enum {
EXTERN const char *const hl_mode_str[] INIT(= { "", "replace", "combine", "blend" });
typedef kvec_t(VirtTextChunk) VirtText;
#define VIRTTEXT_EMPTY ((VirtText)KV_INITIAL_VALUE)
typedef kvec_t(struct virt_line { VirtText line; bool left_col; }) VirtLines;