Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an experimental setting for making suggestions RGB #17416

Merged
merged 20 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fine okay x86 no one uses you anyways
  • Loading branch information
zadjii-msft committed Jun 12, 2024
commit e8f6529c91b4144dd9c732e08cb66b3e1082fc84
2 changes: 1 addition & 1 deletion src/cascadia/TerminalCore/Terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ void Terminal::PreviewText(std::wstring_view input)
// Use the actual text length for the number of steps, not including the
// trailing spaces.
const float increment = 1.0f / originalSize;
zadjii-msft marked this conversation as resolved.
Show resolved Hide resolved
lhecker marked this conversation as resolved.
Show resolved Hide resolved
for (auto i = 0; i < originalSize; i++)
for (auto i = 0u; i < originalSize; i++)
{
const auto color = til::color::from_hue(increment * i);
TextAttribute curr = previewAttrs;
Expand Down
Loading