Miscellaneous fixes
This commit is contained in:
@@ -4,12 +4,14 @@ Unreleased
|
||||
|
||||
* xC: added a /bindings command
|
||||
|
||||
* xC: added support for Lua 5.5
|
||||
|
||||
* xC: relay sessions can now be resumed after a dropped connection (adjustable
|
||||
with general.relay_resume_timeout and general.relay_resume_log_limit);
|
||||
dead links are detected with periodic pings
|
||||
|
||||
* xC: server TLS certificate hostnames are now properly verified
|
||||
|
||||
* xC: added support for Lua 5.5
|
||||
|
||||
* xP: added a button to reconnect and resume the session if possible;
|
||||
page reloads start a new session as before
|
||||
|
||||
@@ -19,6 +21,8 @@ Unreleased
|
||||
|
||||
* Bumped relay protocol version
|
||||
|
||||
* Various bugfixes
|
||||
|
||||
|
||||
2.2.0 (2026-01-10) "Just Doing the Needful"
|
||||
|
||||
|
||||
+1
-1
Submodule liberty updated: e90abbd03c...12063aecde
@@ -1821,8 +1821,8 @@ app_on_insufficient_color (void)
|
||||
static void
|
||||
app_on_clipboard_copy (const char *text)
|
||||
{
|
||||
(void) text;
|
||||
// TODO(p): We should show a message.
|
||||
// TODO(p): This would deserve a better display mechanism.
|
||||
print_status ("copied to clipboard: %s", text);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -2128,7 +2128,7 @@ app_make_line (const struct buffer_line *line)
|
||||
app_push (&row, app_padding (ATTRIBUTE_TIME, 0.25));
|
||||
app_push (&row, app_label (ATTRIBUTE_TIME, timestamp, false));
|
||||
app_push (&row, app_padding (ATTRIBUTE_TIME, 0.25));
|
||||
app_push (&row, app_make_mark (line->rendition));
|
||||
app_push (&row, app_make_mark (line));
|
||||
|
||||
LIST_FOR_EACH (struct buffer_line_item, item, line->items)
|
||||
{
|
||||
@@ -2279,14 +2279,8 @@ app_on_transcript_allocated (struct widget *self)
|
||||
{
|
||||
xui_on_vbox_allocated (self);
|
||||
|
||||
struct widget *spacer = self->children;
|
||||
hard_assert (spacer);
|
||||
widget_move (spacer, self->x - spacer->x, self->y - spacer->y);
|
||||
spacer->width = self->width;
|
||||
spacer->height = self->height;
|
||||
|
||||
int y = self->y + self->userdata;
|
||||
LIST_FOR_EACH (struct widget, child, spacer->next)
|
||||
LIST_FOR_EACH (struct widget, child, self->children)
|
||||
{
|
||||
widget_move (child, self->x - child->x, y - child->y);
|
||||
y += child->height;
|
||||
@@ -2297,11 +2291,6 @@ static struct widget *
|
||||
app_make_transcript (void)
|
||||
{
|
||||
struct layout rows = {};
|
||||
struct widget *spacer =
|
||||
g_xui.ui->padding (g_attrs[ATTRIBUTE_NORMAL].attrs, 0, 0);
|
||||
spacer->width = spacer->height = -1;
|
||||
app_push (&rows, spacer);
|
||||
|
||||
int offset = g.log.visible
|
||||
? app_append_log_rows (&rows)
|
||||
: app_append_buffer_rows (&rows);
|
||||
|
||||
Reference in New Issue
Block a user