# AG\_TABWRAPPER
> [HTML Version](ag_tabwrapper.htm)
_Added November 2025_
**tab(-10,AG\_TABWRAPPER); chr(#); ... ; chr(127);)** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md)
AG\_TABWRAPPER (117) is used to wrap 'problematic' TAB(-1,#) commands for delivery to the client without interfering with the screen tracking logic on the server side. May be used with any TAB(-1,#) command, but is mainly useful with the mouse cursor TAB commands that are followed by raw data bytes, e.g. TAB(-1,158), TAB(-1,160) and TAB(-1,162).
This function has both a [subroutine and a print tab implementation](subroutine-print-pairs.htm.md).
**Response**
none
**Comments**
In general, to convert from:
TAB(-1,#); ;
use:
TAB(-10,AG\_TABWRAPPER); chr(#); ; chr(127);
**Example**
The equivalent of:
TAB(-1,158); "C"; chr(34); chr(27); chr(30);
is:
TAB(-10,AG\_TABWRAPPER); chr(158); "C"; chr(34); chr(27); chr(30); chr(127);
Or, as an alternative to [AG\_SETCURSOR](ag_setcursor.htm.md), you could replace TAB(-1,160); chr(#) with TAB(-10,AG\_TABWRAPPER); chr(160); chr(#); chr(127);
**See Also**
• [MX\_AGWRAPPER](mx_agwrapper.htm.md)[XS](keyword-types.htm.md)
**History**
2025 November, A-Shell 7.0.1781: Function added to A-Shell,