mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-10 04:40:13 -08:00
directory options
This commit is contained in:
parent
d78aa1f586
commit
90b9b9e06e
3 changed files with 67 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
(in-package :clog-tools)
|
||||
|
||||
(defun on-shell (obj)
|
||||
(defun on-shell (obj &key dir)
|
||||
"Open a shell"
|
||||
(let* ((*default-title-class* *builder-title-class*)
|
||||
(*default-border-class* *builder-border-class*)
|
||||
|
|
@ -10,6 +10,8 @@
|
|||
:top 40 :left 225
|
||||
:width 600 :height 400
|
||||
:client-movement *client-side-movement*)))
|
||||
(when dir
|
||||
(uiop:chdir (uiop:native-namestring dir)))
|
||||
(set-geometry (create-clog-builder-shell (window-content win))
|
||||
:units "%" :width 100 :height 100)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue