From c1a987168d899b9a887616c00b44e8ba3ffa0a5e Mon Sep 17 00:00:00 2001 From: rnpnr Date: Mon, 29 Apr 2024 15:12:42 +0000 Subject: [PATCH] Publishing from martanne/vis 1d37e5c8930c7542855da0a864c02ee4fd88c092 --- doc/index.html | 91 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 87 insertions(+), 4 deletions(-) diff --git a/doc/index.html b/doc/index.html index cd45a6e1f..9c11ab0f7 100644 --- a/doc/index.html +++ b/doc/index.html @@ -61,7 +61,7 @@

Module vis

Info:

@@ -324,6 +324,10 @@

Class Window

Define a display style. + Window:style_pos(id, x, y) + Style the single terminal cell at the given coordinates, relative to this window. + + Window:unmap(...) Remove a window local key mapping. @@ -513,6 +517,10 @@

Core Events

CSI command received from terminal. + ui_draw() + Emitted immediately before the UI is drawn to the screen. + + win_close(win) Window close. @@ -2158,11 +2166,19 @@

Fields:

@@ -2414,6 +2430,53 @@

Usage:

win:style_define(win.STYLE_DEFAULT, "fore:red")
+ +
+ + Window:style_pos(id, x, y) +
+
+ Style the single terminal cell at the given coordinates, relative to this window. +

Completely independent of the file buffer, and can be used to style UI elements, + such as the status bar. + The style will be cleared after every window redraw. + + +

Parameters:

+ + +

Returns:

+
    + + bool + false if the coordinates would be outside the window's dimensions +
+ + +

See also:

+ + +

Usage:

+ +
@@ -3590,6 +3653,23 @@

Parameters:

+ +
+ + ui_draw() +
+
+ Emitted immediately before the UI is drawn to the screen. + Allows last-minute overrides to the styling of UI elements. +

*WARNING:* This is emitted every screen draw! + Use sparingly and check for `nil` values! + + + + + + +

@@ -3752,6 +3832,9 @@

Fields:

  • PROCESS_RESPONSE see process_response
  • +
  • UI_DRAW + see ui_draw +
  • @@ -3865,7 +3948,7 @@

    Returns:

    generated by LDoc 1.4.6 -Last updated 2024-04-29 14:29:54 +Last updated 2024-04-29 15:12:42