mcpcpc / kirc

A tiny IRC client written in POSIX C99.

Home Page:https://mcpcpc.github.io/kirc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tabs mess up the message buffer

stefan11111 opened this issue · 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 #131 (comment)

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.