-
-
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.GetBorderLine ( Fixes #373 )
- Loading branch information
Showing
2 changed files
with
23 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
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_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. | ||
|
||
--- |