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

tab completion miscounts characters #752

Closed
ailin-nemui opened this Issue Sep 11, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@ailin-nemui
Contributor

ailin-nemui commented Sep 11, 2017

report by wodim

if you type (| is the caret)

ññññññññ | hello

and type the first letters of a nick and then tab, the caret moves to the end of the line
instead of staying at the end of the nick

@LemonBoy

This comment has been minimized.

Member

LemonBoy commented Sep 12, 2017

I guess this happens in key_completion because pos is a byte offset and, from what I can see, gui_entry_set_pos accepts a offset counted in the ucs4 array.

ailin-nemui added a commit to ailin-nemui/irssi that referenced this issue Sep 13, 2017

ailin-nemui added a commit to ailin-nemui/irssi that referenced this issue Sep 15, 2017

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