mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
table-printer: Ellipsize by terminal width by default
This fixes the display of ellipsized columns in `flatpak remotes -d` with wide terminals.
This commit is contained in:
parent
be862f4989
commit
2aebcb117a
@ -717,7 +717,10 @@ flatpak_table_printer_print_full (FlatpakTablePrinter *printer,
|
||||
void
|
||||
flatpak_table_printer_print (FlatpakTablePrinter *printer)
|
||||
{
|
||||
flatpak_table_printer_print_full (printer, 0, 80, NULL, NULL);
|
||||
int rows, cols;
|
||||
|
||||
flatpak_get_window_size (&rows, &cols);
|
||||
flatpak_table_printer_print_full (printer, 0, cols, NULL, NULL);
|
||||
g_print ("\n");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user