From a44251b85eab419f96f0782a67c8739a5cafed4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sun, 25 Feb 2024 21:51:30 +0000 Subject: [PATCH 1/2] feat: Posh.Host.UI.Box.MiddleWall ( Fixes #371 ) --- docs/Posh/Host/UI/Box/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Posh/Host/UI/Box/README.md b/docs/Posh/Host/UI/Box/README.md index c5af278..7ac5363 100644 --- a/docs/Posh/Host/UI/Box/README.md +++ b/docs/Posh/Host/UI/Box/README.md @@ -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) From e9deb0dd49138d91ae76db8e746317f60c0d5114 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sun, 25 Feb 2024 21:51:31 +0000 Subject: [PATCH 2/2] feat: Posh.Host.UI.Box.MiddleWall ( Fixes #371 ) --- docs/Posh/Host/UI/Box/get_MiddleWall.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/Posh/Host/UI/Box/get_MiddleWall.md diff --git a/docs/Posh/Host/UI/Box/get_MiddleWall.md b/docs/Posh/Host/UI/Box/get_MiddleWall.md new file mode 100644 index 0000000..ede2948 --- /dev/null +++ b/docs/Posh/Host/UI/Box/get_MiddleWall.md @@ -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. + +---