UI(3pm)
π 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 π
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
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms