-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Posh.Host.UI.Box.TopWall ( Fixes #369 )
- Loading branch information
StartAutomating
authored and
StartAutomating
committed
Feb 25, 2024
1 parent
ddb6af8
commit 0d6ca6f
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Posh.Host.UI.Box.get_TopWall() | ||
------------------------------ | ||
|
||
### Synopsis | ||
Gets a box's top wall character | ||
|
||
--- | ||
|
||
### Description | ||
|
||
Gets the top 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 top wall. | ||
|
||
Otherwise, the character directly left of the middle will be considered the top wall. | ||
|
||
--- |