diff options
| author | Mike <10135646+mikesmithgh@users.noreply.github.com> | 2023-06-10 01:48:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-10 14:48:29 +0900 |
| commit | ce8a745fb4ea6d0725e76d13d97fdf4b7433331d (patch) | |
| tree | 5f8143c23c41a68c47bcb17c6a51b401ad35cefe /src/tui/tui.go | |
| parent | 3e9efd1401404da8afdcf9757ac9996f5c48290f (diff) | |
| download | fzf-ce8a745fb4ea6d0725e76d13d97fdf4b7433331d.tar.gz | |
Add new border style: 'thinblock' (#3327)
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
Diffstat (limited to 'src/tui/tui.go')
| -rw-r--r-- | src/tui/tui.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tui/tui.go b/src/tui/tui.go index 55fbe771..8cfe8d33 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -315,6 +315,7 @@ const ( BorderSharp BorderBold BorderBlock + BorderThinBlock BorderDouble BorderHorizontal BorderVertical @@ -408,6 +409,23 @@ func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle { bottomLeft: '▙', bottomRight: '▟', } + + case BorderThinBlock: + // 🭽▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔🭾 + // ▏ ▕ + // 🭼▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁🭿 + return BorderStyle{ + shape: shape, + top: '▔', + bottom: '▁', + left: '▏', + right: '▕', + topLeft: '🭽', + topRight: '🭾', + bottomLeft: '🭼', + bottomRight: '🭿', + } + case BorderDouble: return BorderStyle{ shape: shape, |
