Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Nov 29, 2023

Align completion candidates in tab completion(noautocomplete mode) just like Readline.

completion_align

Implementation

Uses each_slice and transpose.
Adding [nil] * n before each_slice to avoid element size differs error in transpose.

Copy link
Member

@ima1zumi ima1zumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🌟

@ima1zumi ima1zumi merged commit a622704 into ruby:master Apr 1, 2024
matzbot pushed a commit to ruby/ruby that referenced this pull request Apr 1, 2024
@ima1zumi ima1zumi added the enhancement New feature or request label Apr 1, 2024
@tompng tompng deleted the align_menu_info branch April 1, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants