Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-05-06 00:00:00Z and 2020-05-07 00:00:00Z
Avatar
Maybe it is possible to show binds when you just type bind and then comes the bind which is on the key right now Like I bind on Q Kill and then I type bind q thats shows something like bind q kill or something else xd
Avatar
show_bind <key> maybe
11:07
there's dump_binds already anyway
Avatar
that show all binds
11:08
or single too?
11:08
but no need to introduce an extra command, use bind
11:08
that will be a bit better
11:09
because you are just wasting your time for key searching
Avatar
or add an optional parameter to dump_binds
Avatar
Inspired by ddnet code thanks to @marcelherd: https://github.com/ddnet/ddnet/commit/1f5859503329717b3f633b9331b353db133ca021 ```
binds
[...] [2020-05-06 13:58:02][binds]: mouse1 (411) = +fire [2020-05-06 13:58:02][binds]: mouse2 (412) = +hook [2020-05-06 13:58:02][binds]: mousewheelup (420) = +prevweapon [2020-05-06 13:58:02][binds]: mousewheeldown (421) = +nextweapon
bind q kill
[2020-05-06 13:58:05][binds]: bound q (113) = kill
binds q
[2020-05-06 13:58:08][binds]: q (11...
Exported 13 message(s)