MenuLib is a library that allows creating of new UI elements in the R.E.P.O. game. Many mods use this library.
What’s New in 2.4
Version 2.4.0 introduces several new features and improvements. A new delegate, REPOPopupPage.onEscapePressed, allows custom control over whether the Escape key should close a menu—by default, the menu closes unless this delegate returns false. The update also adds the REPOInputStringSystem, a basic input system supporting text entry and clipboard operations like Ctrl+C, Ctrl+X, and Ctrl+V. However, it lacks caret movement and text highlighting. Building on this, a new REPOInputField component has been added, which uses the input system to create a labeled text input element.
Additionally, MenuLib 2.4.0 fixes issues with UI navigation and scrolling. Scrollbars no longer have a deadzone at the top, and the W/S keys no longer cause excessively fast scrolling. In version 2.4.1, REPOInputField and REPOSlider have been updated to accept lowercase characters by default, improving their usability in general text input scenarios.
Author: nickklmao







