menu cross-platform rendering: remove dot in the middle of arrows

This commit is contained in:
sqshq 2019-04-13 12:39:09 -04:00
parent db9e76bec3
commit ca6a328682
2 changed files with 62 additions and 62 deletions

View File

@ -182,7 +182,7 @@ func (m *Menu) printAllDirectionsArrowSign(buffer *ui.Buffer, y int) {
arrows := []string{
" ↑ ",
"←· →",
"← →",
" ↓ ",
}

View File

@ -92,26 +92,26 @@ gauges:
min:
sample: echo 0
sparklines:
- title: CPU usage
- title: CPU usage
position: [[28, 22], [24, 7]]
scale: 0
sample: ps -A -o %cpu | awk '{s+=$1} END {print s}'
- title: Memory pages free
- title: Memory pages free
position: [[28, 17], [24, 5]]
scale: 0
sample: memory_pressure | grep 'Pages free' | awk '{print $3}'
textboxes:
- title: Local weather
- title: Local weather
position: [[0, 30], [13, 7]]
rate-ms: 10000
sample: curl wttr.in?0ATQF
border: false
- title: New York weather
- title: New York weather
position: [[8, 30], [13, 7]]
rate-ms: 10000
sample: curl wttr.in/newyork?0ATQF
border: false
- title: San Francisco weather
- title: San Francisco weather
position: [[17, 30], [13, 7]]
rate-ms: 10000
sample: curl wttr.in/sanfrancisco?0ATQF