Closed jonathanslenders closed 8 years ago
94.49%
Merging #80 into master will decrease coverage by -0.03% as of
4ffb209
@@ master #80 diff @@
======================================
Files 29 29
Stmts 1241 1235 -6
Branches 0 0
Methods 0 0
======================================
- Hit 1173 1167 -6
Partial 0 0
Missed 68 68
Review entire Coverage Diff as of
4ffb209
Powered by Codecov. Updated on successful CI builds.
Hi Jonathan,
Thanks for the continued support and easy-to-understand changelogs. I hope to free up soon to review it.
-Donne
Hi Donne,
Maybe wait about a week. A few small bugs in prompt-toolkit and one bigger (pasting of a block in Vi mode does not refresh the screen) have been discovered. I'm planning to push a new release very soon, and I'll update this pull request.
Thanks for the heads up!
Hi Donne, I updated te commit in this pull request so that it upgrades directly to 0.60. This contains all fixes for the few bugs that have been discovered very recently.
Hi Jonathan, I'm noticing the scroll bars don't seem to take the desired color after this change. Here are before (left) and after (right) screenshots:
These lines should set the scroll bar colors:
Token.Menu.Completions.ProgressButton: 'bg:#003333',
Token.Menu.Completions.ProgressBar: 'bg:#00aaaa',
In style.py
:
return style_from_pygments(style_cls=style, style_dict={
Token.Menu.Completions.Completion.Current: 'bg:#00aaaa #000000',
Token.Menu.Completions.Completion: 'bg:#008888 #ffffff',
Token.Menu.Completions.ProgressButton: 'bg:#003333',
Token.Menu.Completions.ProgressBar: 'bg:#00aaaa',
Token.Toolbar: 'bg:#222222 #cccccc',
Token.Toolbar.Off: 'bg:#222222 #696969',
Token.Toolbar.On: 'bg:#222222 #ffffff',
Token.Toolbar.Search: 'noinherit bold',
Token.Toolbar.Search.Text: 'nobold',
Token.Toolbar.System: 'noinherit bold',
Token.Toolbar.Arg: 'noinherit bold',
Token.Toolbar.Arg.Text: 'nobold'
})
Hi Donne,
I updated the pull request to fix the issue with the colors. The change was that the scrollbars had become a reusable UI component that can be put alongside any "widget". Because of that, the naming in the style changed slightly.
Jonathan
Great, thanks Jonathan! I'll try to check it out this week.
We can close this. I made a new pull request with the changes for 1.0.0 https://github.com/donnemartin/saws/pull/83
1.0.0 merged https://github.com/donnemartin/saws/pull/83
Changelog: https://github.com/jonathanslenders/python-prompt-toolkit/blob/master/CHANGELOG