wantguns / bin

highly opinionated, minimal pastebin
https://basedbin.fly.dev
GNU Lesser General Public License v3.0
213 stars 20 forks source link

enhance: support for tab key in webclient #9

Closed sinux-l5d closed 2 years ago

sinux-l5d commented 2 years ago

As mentioned in #8, I added support for the tab key.

It adds 4 spaces, not the tab character. Maybe that's not the most appropriate way.

We could improve that even more:

I forked from master but opened the merge request on next, so it includes your commit "bin v2.2.0". If that's not what you want, let me know.

sinux-l5d commented 2 years ago

The build check fails against the Rust code (that I did not touched). Apparently, some .to_string() are unnecessary

wantguns commented 2 years ago

The build check fails against the Rust code (that I did not touched). Apparently, some .to_string() are unnecessary

Apparently the latest rust / clippy version gave some more insights. Fixed that now.

Could you rebase and squash your commits ?

sinux-l5d commented 2 years ago

Well, I think it's good to go. Let me know if something's wrong :)

wantguns commented 2 years ago

Thanks !