~martanne/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] document changing the displayed file of a window via lua

Details
Message ID
<20241025113236.45999-1-florian.fischer@muhq.space>
DKIM signature
permerror
Download raw message
Patch: +2 -0
Since 352ee0761 it is possible to change the file displayed in a window
by changing the value of window.file to the a file path.
---
 vis-lua.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vis-lua.c b/vis-lua.c
index 676bcb4e..f3eebc4b 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -1807,6 +1807,8 @@ static const struct luaL_Reg registers_funcs[] = {
 */
/***
 * The file being displayed in this window.
 * Changing the value to a file path will replace the current file with a new
 * one for the specified path.
 * @tfield File file
 */
/***
-- 
2.47.0
Felix Van der Jeugt <felixvdj+martanne@posteo.be>
Details
Message ID
<2ELTAT7X4WJWK.2CUC1I1GG1OVS@mantle>
In-Reply-To
<20241025113236.45999-1-florian.fischer@muhq.space> (view parent)
DKIM signature
pass
Download raw message
Florian Fischer <florian.fischer@muhq.space> wrote:
> Since 352ee0761 it is possible to change the file displayed in a 
> window by changing the value of window.file to the a file path.

It is. Applied!

Cheers,
Felix
Reply to thread Export thread (mbox)