Re: Is it possible to hook into the prompt?
Bernd Paysan <[email protected]> Tue, 22 Sep 2020 15:19:35 +0200
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <145532224.iGZrXOxthv@liubei> |
Am Dienstag, 22. September 2020, 14:16:02 CEST schrieb Ethan Gardener: > Is it possible to have something run before 'ok' appears? This appears to be > the sensible way to handle redraw in my command-line text editor. PROMPT is a deferred word. You can easily make it : my-prompt redraw defers prompt ; ' my-prompt is prompt -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* https://net2o.de/
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAl9p+ecACgkQ9y2Uk5Mt oGfhOBAAlwW0V+Jdzjp6X7sTR8T//8SKjOdn8vHr1eqZ/9t37EPLQ5ZoV0yP5Lu2 74MCkI7RrEGPkeuyzA8OqjIRBIb6DVEC61WkuTXZ0MaS6L/17p/3r0JI1l+1uuEC lNoooecn8XyWzaPGnGWwnO0y3rbsZwK4scnrGHGH9t0BbVqJjZKOT/0QBln76Y7F 5pfC6t1ZDknhPihND+dGEsK67o7Q0G5QV0QFIMW8HIVQ7m58QUY4e56TqUjp3Z3i RKOUy+cKz1IulrrQQYaZaRmSHeWen8lRiQnI/4emtwxhPNG40HVo+8WpOmTdaUYS oEZVat3Rc7dtCg/wJtG0GjHhUGxty6hIvVIKS4HLVorFz4oAKkdH+87JsLYCmUkw fba/0f7DFfehi8YeLtT/ziiM7S5dWrFsFZ5qnngsV5gyPI6pyjqg0jFVw7yYZP1l azlU35i9uMxe3atboeegXyK724h2xX4DuYzvXRHuv6lhSdEE4JJFQW2eOitCVx37 KFAbuS6FJBLXglKsNjcBDDWSRKtI3yjn2ASmATutcDqESStA2ocjDBPyQORLNx9d piRuS5FbLSLWVaVaAxT6qzy0DI1ndzpWvB3BPD23L1BTPY7zN690jQ4dGQIDHjgW m0FYATP3/SQFNttdPhV7D2R7D4VCxXnuINHMuCbEnSRd504o4Yw= =A27Y -----END PGP SIGNATURE-----