API: Add minimum width/height constraints to ns.ui.resizeTail (#2558)

This commit is contained in:
catloversg
2026-03-08 03:07:56 +07:00
committed by GitHub
parent e06fb3dd9d
commit 39a7a31276
3 changed files with 16 additions and 14 deletions

View File

@@ -6744,8 +6744,8 @@ interface UserInterface {
*
* Resize a tail window. Size are in pixel.
*
* @param width - Width of the window.
* @param height - Height of the window.
* @param width - Width of the window. The minimum value is 150.
* @param height - Height of the window. The minimum value is 30.
* @param pid - Optional. PID of the script having its tail resized. If omitted, the current script is used.
*/
resizeTail(width: number, height: number, pid?: number): void;