Terminal doesnt work on android

This commit is contained in:
Jakub 2025-09-26 22:44:41 +08:00
parent 39e208b643
commit 80b0c943e9

View file

@ -30,7 +30,7 @@
:group 'theurgy :group 'theurgy
:group 'theurgy-compat) :group 'theurgy-compat)
(when (or (not (equal system-type 'windows-nt)) theurgy-enable-vterm-windows) (when (or (equal system-type 'gnu/linux) theurgy-enable-vterm-windows)
(use-package vterm (use-package vterm
:ensure t)) :ensure t))
@ -76,7 +76,8 @@
(define-key global-map (kbd "C-<return>") 'theurgy-main-shell) (define-key global-map (kbd "C-<return>") 'theurgy-main-shell)
(global-set-key (kbd "M-RET") 'theurgy-bottom-shell) (global-set-key (kbd "M-RET") 'theurgy-bottom-shell)
(define-key vterm-mode-map (kbd "M-RET") 'theurgy-bottom-shell) (when (fboundp 'vterm)
(define-key vterm-mode-map (kbd "M-RET") 'theurgy-bottom-shell))
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
'("\\*vterm\\*\\|\\*shell\\*" '("\\*vterm\\*\\|\\*shell\\*"