Hi Lutz,
How do i put the current contect name inside the (prompt-event?)
Seems its gone when using prompt-event..
prompt-event and currnt context
prompt-event and currnt context
-- (define? (Cornflakes))
version 9.9.96 will pass it as a parameter:
:)
Code: Select all
newLISP v.9.9.96 on OSX IPv4 UTF-8, execute 'newlisp -h' for more info.
> (prompt-event (eval (fn (ctx) (string ctx ":" (real-path) "$ "))))
$prompt-event
MAIN:/Users/lutz/newlisp-9.9.96$ (context 'FOO)
FOO
FOO:/Users/lutz/newlisp-9.9.96$