BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 86 forks source link

Bug: Launch Terminal launched terminal twice #113

Closed dlintw closed 10 years ago

dlintw commented 10 years ago

I use lilyterm. And when I press Mod1-t it launched twice.

BurntSushi commented 10 years ago

Could you please post your key.wini config file. I can't reproduce this either.

dlintw commented 10 years ago

Sorry, I found it is my fault. I duplicate the line, Maybe we should have a tool to check is the same key name occurs on continue line. Otherwise show error on it to prevent such wrong behavior.

Mod4-t := Shell "lilyterm" # at file header ... Mod4-t := Shell "lilyterm" # at file tailer

BurntSushi commented 10 years ago

That is not wrong behavior. In the wini format, := is an append operation, not an equals operation. It lets you bind multiple commands (in order) to a single key press.