Commit graph

2112 commits

Author SHA1 Message Date
Jan De Dobbeleer 18746bdc4b feat(pwsh): theme parameter is optional 2020-09-20 09:55:41 +02:00
Jan De Dobbeleer 177f328ac6 fix: enable ANSI color support on Windows
resolves #5
2020-09-20 09:55:41 +02:00
Jan De Dobbeleer f73a308a0d chore: update README with PowerShell module info 2020-09-17 17:47:32 +02:00
Jan De Dobbeleer db212d513f fix: ignore segments without writer 2020-09-17 17:47:32 +02:00
Jan De Dobbeleer a639240f9c feat: add node version segment 2020-09-17 17:47:32 +02:00
Jan De Dobbeleer 34094b0480 fix: adjust themes according to latest changes 2020-09-17 12:38:01 +02:00
Jan De Dobbeleer 6fd9f0bdd9 fix: render newline correctly cross platform/shell
Powershell has an issue rendering multiline prompts when it comes to
PSReadline on MacOS. To mitigate that, we make it a multiline
prompt by moving the cursor all the way to the end. That way, PSReadline
believes this is still a one line prompt and everything works as
expected.

https://github.com/PowerShell/PowerShell/issues/3687
2020-09-17 12:38:01 +02:00
Jan De Dobbeleer 5c4af19d90 feat: add shell info segment 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer 2791b180b2 fix: remove incorrect percentage indicator 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer 9b9405978e fix: make newline compatible cross shell
When using PowerShell, "\n" isn't recognized as a newline character.
To resolve this, moving the cursor down 1 line is more interesting
as it will work in any shell using ANSI escape sequences (which we
depends upon).
2020-09-16 10:46:50 +02:00
Jan De Dobbeleer f3582d229e feat(pkg): add PowerShell package 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer c4d1c75781 feat: initial commit 2020-09-12 08:57:18 +02:00