Commit graph

30 commits

Author SHA1 Message Date
Jan De Dobbeleer eb42e0c93a refactor: better engine write function 2020-12-23 13:54:36 +01:00
TravisTX 85b1fc2662 feat: powershell rprompt support 2020-12-19 19:21:29 +01:00
Jan De Dobbeleer 3ca2cb5ef3 feat: zsh rprompt compatibility 2020-12-18 19:36:31 +01:00
Jan De Dobbeleer 09255ae63d fix: use full block for spaces only with a background
This reverts commit 7d3629c7d4.
This resolves #212
2020-12-02 18:46:36 +01:00
Jan De Dobbeleer 7d3629c7d4 fix: use full block for spaces 2020-12-02 09:26:07 +01:00
Jan De Dobbeleer 6f1a7b9d39 fix: do not clear lines on cursor change
resolves #195
2020-11-26 19:45:16 +01:00
lnu bea3258758 feat: new ShowDebug parameter
calculate each segment timing
new parameter to show/hide segment debug information
set-poshprompt updated with the new showDebug parameter

Force disabled segment to be visible for debug purpose
2020-11-19 19:03:56 +01:00
Jan De Dobbeleer 7cb752abcb feat: console title style
resolves #149
2020-11-13 16:10:57 +01:00
Jan De Dobbeleer 8fb190e074 refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
Jan De Dobbeleer 2844eed0f5 fix: use stringValue
resolves #136
2020-11-10 18:41:29 +01:00
Jan De Dobbeleer fa4ace0d9d fix: clear line after write
relates to #65
2020-10-30 19:27:03 +01:00
Jan De Dobbeleer 82c8efe0ed fix: clear to EOL after prompt
relates to #65
2020-10-27 16:23:42 +01:00
Jan De Dobbeleer 96a2af1405 refactor: print via renderer only 2020-10-27 16:23:42 +01:00
Jan De Dobbeleer 8155c4b232 fix: powershell invocation 2020-10-24 19:51:00 +02:00
Jan De Dobbeleer 0e4b8f668b refactor: populate segments in parallel 2020-10-14 19:19:35 +02:00
Jan De Dobbeleer e5213551bd fix: reset colors after rendering prompt
resolves #65
2020-10-14 17:45:02 +02:00
Jan De Dobbeleer 1086a48d91 feat: set console title option 2020-10-12 13:25:27 +02:00
Jan De Dobbeleer 66941ddb43 fix: correct cross platform home location
resolves #24
2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 9ffa132174 feat: ignore folders for segments 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 3e18c241ab refactor: rename for clarity 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 82c8483603 refactor: offsets match functionality 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer afaaace35b refactor: final_space is better name
I\'m coming for you Avocato
2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 1d8e7b2458 refactor: change powerline config to segment 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 9a508142fc refactor: understandable offset properties 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer f478255bbf refactor: escape color sequences on zsh 2020-09-24 19:34:19 +02:00
Jan De Dobbeleer f410c32f6e refactor: remove powerline bg color 2020-09-21 20:29:50 +02:00
Jan De Dobbeleer db212d513f fix: ignore segments without writer 2020-09-17 17:47:32 +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 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 c4d1c75781 feat: initial commit 2020-09-12 08:57:18 +02:00