Resize the screen

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall U_RESIZE([height][, width])



(optional) The new screen height in rows. (n)


(optional) The new screen width in columns. (n)


U_RESIZE resizes the screen without reinitializing the windowing system.

If you specify only one of the arguments (either height or width), the other dimension will remain unchanged.

If the height is changed, only the screen body will be affected.

If the width is changed, all the screen sections will be resized. U_RESIZE will also rejustify any centered (D_CENTER) or right‑justified (D_RIGHT) text within the new dimensions. If re‑justifying causes any text to overlap, the centered text will prevail, truncating the right‑ or left‑justified text.

Placement of any windows (other than the screen sections) will remain unaffected, except as limited by the window system.

On Windows, you can control the font used by the application window. See Using fonts on Windows.


The first example sets the number of screen rows to 25, and the number of screen columns to 132.

xcall u_resize(25,132)

The second example sets the number of screen columns to 80 and leaves the number of screen rows unaffected.

xcall u_resize(,80)