Skip to content

refactor: use string for command line buffers#2412

Merged
joelim-work merged 1 commit intogokcehan:masterfrom
joelim-work:cmdline-refactor
Mar 4, 2026
Merged

refactor: use string for command line buffers#2412
joelim-work merged 1 commit intogokcehan:masterfrom
joelim-work:cmdline-refactor

Conversation

@joelim-work
Copy link
Collaborator

Change the type of ui.cmdAccLeft, ui.cmdAccRight and ui.cmdYankBuf from []rune to string. Most of the code uses them as a string anyway, and now that uniseg is used to calculate string widths, there is little reason to continue using []rune.

@joelim-work joelim-work merged commit 1afe4ff into gokcehan:master Mar 4, 2026
32 checks passed
@joelim-work joelim-work deleted the cmdline-refactor branch March 4, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant