propagate key-messages to plugin if result-buffer has focus? (didn't
work for the enter key...)
This commit is contained in:
parent
e549cc27ff
commit
eb5fff8905
|
@ -132,6 +132,7 @@
|
||||||
(current-history-entry-selector-maker history-entry-result))
|
(current-history-entry-selector-maker history-entry-result))
|
||||||
|
|
||||||
(define (update-current-result! new-value)
|
(define (update-current-result! new-value)
|
||||||
|
(debug-message "update-current-result! " new-value)
|
||||||
(cond
|
(cond
|
||||||
((current-history-item)
|
((current-history-item)
|
||||||
=> (lambda (entry)
|
=> (lambda (entry)
|
||||||
|
@ -341,7 +342,7 @@
|
||||||
(refresh-result-window)
|
(refresh-result-window)
|
||||||
(loop (wait-for-input) c-x-pressed?))
|
(loop (wait-for-input) c-x-pressed?))
|
||||||
|
|
||||||
((= ch 10)
|
((and (focus-on-command-buffer?) (= ch 10))
|
||||||
(handle-return-key)
|
(handle-return-key)
|
||||||
(loop (wait-for-input) c-x-pressed?))
|
(loop (wait-for-input) c-x-pressed?))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue