Skip to content

Commit

Permalink
feat: Posh.Host.UI.Box.GetBorderLine ( Fixes #373 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Feb 25, 2024
2 parents ec8868b + e9deb0d commit 4c92aef
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/Posh/Host/UI/Box/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* [get_Middle](get_Middle.md)
* [get_MiddleLeft](get_MiddleLeft.md)
* [get_MiddleRight](get_MiddleRight.md)
* [get_MiddleWall](get_MiddleWall.md)
* [get_RightWall](get_RightWall.md)
* [get_TopLeft](get_TopLeft.md)
* [get_TopMiddle](get_TopMiddle.md)
Expand Down
22 changes: 22 additions & 0 deletions docs/Posh/Host/UI/Box/get_MiddleWall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Posh.Host.UI.Box.get_MiddleWall()
---------------------------------

### Synopsis
Gets a box's middle wall character

---

### Description

Gets the middle wall in a box.

---

### Notes
If the box only has one line, and it is less than 5 characters, the second character will be considered the top wall.

If it only has one character, it will be considered the middle wall.

Otherwise, the character directly left of the middle will be considered the middle wall.

---

0 comments on commit 4c92aef

Please sign in to comment.