kirc icon indicating copy to clipboard operation
kirc copied to clipboard

Tabs mess up the message buffer

Open stefan11111 opened this issue 2 years ago • 1 comments

          > While testing, I found that if you use tabs in your message, the message prompt goes haywire (not to be confused with the prompt that shows the current channel). This issue was not added in my pr or emekoi's , as it still happens in the this repo without any modifications.

confirmed. Please open a separate issue for this one. I think one of the previous releases may have broken tabs in the buffer

Originally posted by @mcpcpc in https://github.com/mcpcpc/kirc/issues/131#issuecomment-1399077628

stefan11111 avatar Jan 21 '23 00:01 stefan11111

this bug appears to have existed for quite some time now (since at least 0.2.5 when history buffering was first introduced).

This should easily be addressable by implementing horizontal tabs (^I). The only question would be choosing an “optimal” solution… at the moment, am considering using a fixed tab width of 4 spaces, as this is fairly common for most editors.

mcpcpc avatar Jan 21 '23 01:01 mcpcpc