(xterm-mouse-event): Adjust for minibuffer prompt width.
This commit is contained in:
parent
8a5a6d3e6d
commit
c27f1e0119
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@
|
|||
(goto-char (window-start window))
|
||||
(move-to-window-line (cdr where))
|
||||
(move-to-column (+ (car where) (current-column)
|
||||
(if (string-match "\\` \\*Minibuf"
|
||||
(buffer-name))
|
||||
(- (minibuffer-prompt-width))
|
||||
0)
|
||||
(max 0 (1- (window-hscroll)))))
|
||||
(point))
|
||||
where))
|
||||
|
|
Loading…
Add table
Reference in a new issue