make host+pwd shorter

pull/137/head v2.6.0
Simon Let 6 years ago
parent 32db735183
commit 023941a57c
  1. 2
      cmd/cli/item.go

@ -176,7 +176,7 @@ func newItemFromRecordForQuery(record records.EnrichedRecord, query query, debug
location += record.Host + ":"
locationWithColor += highlightHost(record.Host) + ":"
}
const locationLenght = 35
const locationLenght = 30
// const locationLenght = 20 // small screenshots
pwdLength := locationLenght - len(location)
pwdTilde := strings.Replace(record.Pwd, record.Home, "~", 1)

Loading…
Cancel
Save