You are not logged in.

#1 2015-06-02 03:32:09

Totony
Member
Registered: 2011-07-26
Posts: 16

(SOLVED) rxvt-unicode outputs a tilde when a key is pressed

Hi,

I just bound some custom key in order to control my volume.

I used the following code in my .zshrc:

lower-volume_widget() {
    amixer -q set Master 1- unmute > /dev/null 2>&1
}
zle -N lower-volume_widget

bindkey "^[[30" lower-volume_widget

Although it works: the sound indeed gets lowered, a tilde "~" is output at every keypress in addition to the action specified by the function.

Does anyone have any idea how I could prevent any output from this keypress?

EDIT: Disregard this, I was dump, the key was actually "^[[30~"...

Last edited by Totony (2015-06-02 07:11:30)

Offline

Board footer

Powered by FluxBB