mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
[ncurses6] Support italics
This commit is contained in:
@@ -30,7 +30,7 @@ import (
|
||||
)
|
||||
|
||||
type ColorPair int16
|
||||
type Attr C.int
|
||||
type Attr C.uint
|
||||
type WindowImpl C.WINDOW
|
||||
|
||||
const (
|
||||
@@ -39,6 +39,7 @@ const (
|
||||
Blink = C.A_BLINK
|
||||
Reverse = C.A_REVERSE
|
||||
Underline = C.A_UNDERLINE
|
||||
Italic = C.A_VERTICAL << 1 // FIXME
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -48,6 +48,7 @@ const (
|
||||
Blink = Attr(tcell.AttrBlink)
|
||||
Reverse = Attr(tcell.AttrReverse)
|
||||
Underline = Attr(tcell.AttrUnderline)
|
||||
Italic = Attr(tcell.AttrNone) // Not supported
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user