mirror of
https://github.com/rivo/tview.git
synced 2025-04-26 13:49:06 +08:00
added comment to semigraphic related code
This commit is contained in:
parent
06dd16088a
commit
b6cd5e5021
@ -141,6 +141,9 @@ const (
|
|||||||
BoxDrawingsHeavyUpAndLightDown rune = '\u257f' // ╿
|
BoxDrawingsHeavyUpAndLightDown rune = '\u257f' // ╿
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// SemigraphicJoints is a map for joining semigraphic (or otherwise) runes.
|
||||||
|
// So far only light lines are supported but if you want to change the border
|
||||||
|
// styling you need to provide the joints, too.
|
||||||
var SemigraphicJoints = map[string]rune{
|
var SemigraphicJoints = map[string]rune{
|
||||||
string([]rune{BoxDrawingsLightHorizontal, BoxDrawingsLightVertical}): BoxDrawingsLightVerticalAndHorizontal,
|
string([]rune{BoxDrawingsLightHorizontal, BoxDrawingsLightVertical}): BoxDrawingsLightVerticalAndHorizontal,
|
||||||
string([]rune{BoxDrawingsLightHorizontal, BoxDrawingsLightDownAndRight}): BoxDrawingsLightDownAndHorizontal,
|
string([]rune{BoxDrawingsLightHorizontal, BoxDrawingsLightDownAndRight}): BoxDrawingsLightDownAndHorizontal,
|
||||||
|
2
util.go
2
util.go
@ -20,7 +20,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Deprecated semigraphical runes.
|
// Deprecated semigraphical runes.
|
||||||
// You should use the runes provided by semigraphical.go instead.
|
// You should use the runes provided by semigraphical.go or Borders directly.
|
||||||
const (
|
const (
|
||||||
GraphicsHoriBar = BoxDrawingsLightHorizontal
|
GraphicsHoriBar = BoxDrawingsLightHorizontal
|
||||||
GraphicsVertBar = BoxDrawingsLightVertical
|
GraphicsVertBar = BoxDrawingsLightVertical
|
||||||
|
Loading…
x
Reference in New Issue
Block a user