aboutsummaryrefslogtreecommitdiff
path: root/style.go
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2018-02-24 23:43:22 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2018-02-24 23:43:22 +0100
commit1c1469d5522c7c7d7c03232d9c2711c5d96d3c18 (patch)
treed2bd4e1b17a4ab1cb496ae05be42daffcd4d1305 /style.go
parent9f351fc3691f30ae5b3c195ef186470987ac78f9 (diff)
downloadpoe-1c1469d5522c7c7d7c03232d9c2711c5d96d3c18.tar.gz
poe-1c1469d5522c7c7d7c03232d9c2711c5d96d3c18.tar.bz2
poe-1c1469d5522c7c7d7c03232d9c2711c5d96d3c18.zip
Bulk. Move fast and break things. Whatever.
Fixed scrolling and mouse selection in regards to soft wrap and tabstop. Fixed empty buffer windir setting which will make new buffers start in correct working dir. Fixed automatic dot expansion on Open and Run. Made commands not need a prepended ! to be considered an external command.
Diffstat (limited to 'style.go')
-rw-r--r--style.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/style.go b/style.go
index 57debbf..eaff897 100644
--- a/style.go
+++ b/style.go
@@ -9,9 +9,11 @@ var (
bodyHilightStyle tcell.Style
// tag is the window tag line above the body
- tagStyle tcell.Style
- tagCursorStyle tcell.Style
- tagHilightStyle tcell.Style
+ tagStyle tcell.Style
+ tagCursorStyle tcell.Style
+ tagHilightStyle tcell.Style
+ tagSquareStyle tcell.Style
+ tagSquareModifiedStyle tcell.Style
// vertline is the vertical line separating columns
vertlineStyle tcell.Style
@@ -40,6 +42,10 @@ func InitStyles() {
Foreground(tcell.ColorBlack)
tagHilightStyle = tagStyle.
Background(tcell.NewHexColor(0x8888cc))
+ tagSquareStyle = tagStyle.
+ Background(tcell.NewHexColor(0x8888cc))
+ tagSquareModifiedStyle = tagStyle.
+ Background(tcell.NewHexColor(0x0))
vertlineStyle = bodyStyle
}