Saturday, March 12, 2016

Fixing problematic keys in st (suckless terminal)

Some keys were not working in Suckless Terminal (st). In particular Backspace and END keys were not working. Performing the following two steps fixes the problem (courtesy of the st page in the ArchWiki):


  1. Put this line in ~/.inputrc or /etc/inputrc:
    set enable-keypad on
  2. Run this in your terminal (you can put it in ~/.bashrc):
    stty erase '^H'

No comments:

Post a Comment