mrlib/terminal: create embedded terminal in a container sequence
This commit is contained in:
parent
fd8bde94da
commit
82457258e2
|
@ -95,6 +95,9 @@
|
||||||
(λ (item evt)
|
(λ (item evt)
|
||||||
(send text set-position 0 (send text last-position)))]))
|
(send text set-position 0 (send text last-position)))]))
|
||||||
|
|
||||||
|
(when container
|
||||||
|
(send container begin-container-sequence))
|
||||||
|
|
||||||
(set! sub-container
|
(set! sub-container
|
||||||
(or frame
|
(or frame
|
||||||
(new (class vertical-panel%
|
(new (class vertical-panel%
|
||||||
|
@ -136,6 +139,8 @@
|
||||||
(send text lock #t)
|
(send text lock #t)
|
||||||
(send text hide-caret #t)
|
(send text hide-caret #t)
|
||||||
(semaphore-post setup-sema)
|
(semaphore-post setup-sema)
|
||||||
|
(when container
|
||||||
|
(send container end-container-sequence))
|
||||||
(when frame
|
(when frame
|
||||||
(send frame show #t)))))
|
(send frame show #t)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user