mirror of
https://github.com/jtdaugherty/brick.git
synced 2025-01-05 21:03:07 +03:00
Make the "unicode" border style the default since it's 2015
This commit is contained in:
parent
ccf33a8a66
commit
8eb6bc3d21
@ -8,7 +8,7 @@
|
||||
--
|
||||
-- To use these in your widgets, see
|
||||
-- 'Brick.Widgets.Core.withBorderStyle'. By default, widgets rendered
|
||||
-- without a specified border style use 'ascii' via the 'Default'
|
||||
-- without a specified border style use 'unicode' via the 'Default'
|
||||
-- instance provided by 'BorderStyle'.
|
||||
module Brick.Widgets.Border.Style
|
||||
( BorderStyle(..)
|
||||
@ -51,7 +51,7 @@ data BorderStyle =
|
||||
deriving (Show, Read)
|
||||
|
||||
instance Default BorderStyle where
|
||||
def = ascii
|
||||
def = unicode
|
||||
|
||||
-- | Make a border style using the specified character everywhere.
|
||||
borderStyleFromChar :: Char -> BorderStyle
|
||||
|
Loading…
Reference in New Issue
Block a user