My-Random-Thoughts / PowerShellKeePass

PowerShell 5 module for KeePass manipulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get-KeePassGroupTreeView not displaying tree correctly

My-Random-Thoughts opened this issue · comments

There are minor issues with the tree drawing routine when there are root entries.

Expected

KeePassDatabase
├─ E: Sample Entry 1
└─ E: Sample Entry 2

KeePassDatabase
│  ├─ E: Sample Entry 1
│  └─ E: Sample Entry 2
└─ Group 1
   ├─ E: Sample Entry 3
   └─ E: Sample Entry 4

Actual

KeePassDatabase
│  ├─ E: Sample Entry 1
│  └─ E: Sample Entry 2

KeePassDatabase
├─ E: Sample Entry 1
├─ E: Sample Entry 2
└─ Group 1
   ├─ E: Sample Entry 3
   └─ E: Sample Entry 4