Bind TAB not <tab> in M-x lldb

* lisp/progmodes/gud.el (lldb): Bind TAB not <tab> so that it also works
on terminals.
This commit is contained in:
Gerd Möllmann
2024-08-07 11:38:48 +02:00
parent 153dc4bd1d
commit 2b087abdbb

View File

@@ -4134,7 +4134,8 @@ This command runs functions from `lldb-mode-hook'."
(add-hook 'completion-at-point-functions
#'gud-lldb-completion-at-point
nil 'local)
(keymap-local-set "<tab>" #'completion-at-point)
;; Bind TAB not <tab> so that it also works on ttys.
(keymap-local-set "TAB" #'completion-at-point)
(gud-set-repeat-map-property 'gud-gdb-repeat-map)
(setq comint-prompt-regexp (rx line-start "(lldb)" (0+ blank)))