Cosmesis
This commit is contained in:
parent
20ef16e3f2
commit
b45c3ad8f1
@ -24,9 +24,7 @@ names =
|
||||
, (Left "srvr", "url" )
|
||||
, (Left "cdat", "created" )
|
||||
, (Left "mdat", "last change")
|
||||
, (Left "desc", "description")
|
||||
]
|
||||
|
||||
, (Left "desc", "description") ]
|
||||
|
||||
instance Pretty Keychain where
|
||||
pretty = intercalate spacer . map pretty
|
||||
@ -38,8 +36,7 @@ instance Pretty Item where
|
||||
, "content: " ++ password
|
||||
, "keychain: " ++ takeBaseName keychain
|
||||
, "class: " ++ show itemClass
|
||||
, "info: "
|
||||
] ++ map pretty entries
|
||||
, "info: " ] ++ map pretty entries
|
||||
where
|
||||
title = maybe (Str "") id (lookup (Right 7) attrs)
|
||||
entries = filter ((`elem` keys) . fst) attrs
|
||||
|
Loading…
Reference in New Issue
Block a user