Hacker News new | past | comments | ask | show | jobs | submit login

Essential part of termux- .emacs, enabling touchscreen:

    (xterm-mouse-mode 1)
    (global-set-key (kbd "<mouse-5>") 'scroll-up-command)
    (global-set-key (kbd "<mouse-4>") 'scroll-down-command)



I think this is for running emacs as a TUI within the termux terminal. The package I linked runs graphical emacs and just shares a filesystem with termux (to allow you to install git etc.). YMMV, but touchscreen should work out-of-the-box




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: