UI(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’… Lire::UI β€” like, the manual page for it (UI(3pm)) πŸŽ€

okay so bestie, this is UI(3pm) from the LogReport's Lire Documentation set, and it's basically the vibe check for talking to a DLF store through a whole curses interface πŸ¦‹

✨ NAME ✨

Lire::UI β€” literally the interface to a DLF store, no cap.

🌸 SYNOPSIS 🌸

here's the whole little ritual, exactly as it goes:

  use Lire::Config;
  use Lire::UI;
  use Lire::PluginManager;

  Lire::Config->init();

  Lire::PluginManager->register_default_plugins();
  my $ui = Lire::UI->new();
  $ui->curses_ui()->clear_on_exit( 1 );
  exit( $ui->mainloop() );

like, that's the whole entrance exam πŸ’–

🫢 DESCRIPTION 🫢

so the Lire::UI object creates a Curses::UI application. that's the whole main-character moment, periodt ✨

πŸŽ€ curses_ui() πŸŽ€

Returns the Curses::UI object that's used for the interface. that's it β€” that's the whole method, and honestly? iconic πŸ’…

⭐ edit_value_dialog( $value, [$title] ) ⭐

Opens a modal dialog where you can edit the Lire::Config::Value $value πŸ’–

the dialog comes with an OK button and a Cancel button, and it contains exactly one Lire::UI::Widget that's appropriate for whatever type $value happens to be β€” like, it just knows 🧚

the method returns true when the OK button was selected, and false otherwise. no in-between, no situationships πŸ™ˆ

🌈 SEE ALSO 🌈

go read those too, iykyk πŸ‘‘

πŸ’œ VERSION πŸ’œ

$Id: UI.pm,v 1.25 2006/07/23 13:16:30 vanbaal Exp $

πŸ”₯ AUTHORS πŸ”₯

  • Francis J. Lacoste <flacoste@logreport.org>
  • Wolfgang Sourdeau <wolfgang@logreport.org>

Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.

πŸ’€ real talk: this program is distributed WITHOUT ANY WARRANTY, not even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE β€” that part is serious, bestie, so read the GNU General Public License for the deets 🫢

and that's the page!! brought to you by Lire 2.1.1, dated 2025-09-28, and yeah the manpage itself is still signed UI(3pm) β€” slay, mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from