Skip to content

Bump reedline to latest main (reedline#991) - #17252

Merged
ysthakur merged 1 commit into
nushell:mainfrom
ysthakur:bump-reedline
Dec 28, 2025
Merged

ysthakur merged 1 commit into
nushell:mainfrom
ysthakur:bump-reedline

Conversation

@ysthakur

@ysthakur ysthakur commented Dec 28, 2025 •

Copy link
Copy Markdown
Member

Bump Reedline to latest main to include nushell/reedline#991, which fixes a bug in completion menu highlighting.

Release notes summary - What our users need to know

N/A

Tasks after submitting

None

@ysthakur ysthakur added A:line-editor Issues related to reedline notes:hide Noted only in "Full Changelog" section labels Dec 28, 2025
@ysthakur ysthakur mentioned this pull request Dec 28, 2025
1 task
@ysthakur
ysthakur merged commit 16f60b2 into nushell:main Dec 28, 2025
@ysthakur
ysthakur deleted the bump-reedline branch December 28, 2025 23:13
@github-actions github-actions Bot added this to the v0.110.0 milestone Dec 28, 2025
@fdncred

fdncred commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

Thanks yash!

@fdncred

fdncred commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

Sorry about this late question but do you think it's possible that fg and bg are swapped? With this config I get the fg colored darkorange.

  {
    name: completion_menu
    only_buffer_difference: false
    marker: $" \n❯ (char -u '1f4ce') "
    type: {
      layout: columnar
      columns: 4
      col_width: 20   # Optional value. If missing all the screen width is used to calculate column width
      col_padding: 2
      tab_traversal: "vertical"   # Direction in which pressing <Tab> will cycle through options, "horizontal" or "vertical"
    }
    style: {
      text: { fg: "#33ff00" }
      selected_text: {attr: r}
      description_text: yellow
      match_text: {attr: u}
      selected_match_text: {bg: darkorange attr: b}
    }
  }
image

and if i change bg to fg I get this:
image

@ysthakur

ysthakur commented Dec 29, 2025 •

Copy link
Copy Markdown
Member Author

Oh, I made another mistake. The selected_text_style has the reverse attribute. Previously, it wasn't being applied to matched text, now it is. I'll make sure it's not applied to matched text and test more thoroughly this time.

@fdncred

fdncred commented Dec 30, 2025

Copy link
Copy Markdown
Contributor

ah, reverse. hopefully that's easy to toggle so we can have it correct.

@ysthakur

Copy link
Copy Markdown
Member Author

@fdncred Put up a Reedline PR (not a long-term fix): nushell/reedline#994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A:line-editor Issues related to reedline notes:hide Noted only in "Full Changelog" section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants