Implement expand/fold using <ENTER> key in TUI
Implement expand/fold using <ENTER> key in TUI

Display entry with +/- sign and fold it dynamically in TUI

  $ elftree -tui /usr/bin/ls
  - ls
     - libcap.so.2                   <-- cursor
        - libc.so.6
           - ld-linux-x86-64.so.2
     - libc.so.6

When pressing <ENTER> on libcap.so.2, the output will be

  - ls
     + libcap.so.2
     - libc.so.6

This will help to navigate a binary with long list of dependencies (like
an GUI application).

namhyung/elftree