github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/variables/columns.md (about)

     1  # `COLUMNS` (int)
     2  
     3  > Character width of terminal
     4  
     5  ## Description
     6  
     7  `COLUMNS` returns the cell width of the terminal.
     8  
     9  Some characters might be more than or less than 1 (one) cell in width, such
    10  as Chinese logograms and zero-width joiners. Whereas one ASCII character is
    11  the same width as one terminal cell.
    12  
    13  This is a reserved variable so it cannot be changed.
    14  
    15  
    16  
    17  ## Synonyms
    18  
    19  * `columns`
    20  * `COLUMNS`
    21  
    22  
    23  ## See Also
    24  
    25  * [Interactive Shell](../user-guide/interactive-shell.md):
    26    What's different about Murex's interactive shell?
    27  * [Reserved Variables](../user-guide/reserved-vars.md):
    28    Special variables reserved by Murex
    29  * [`set`](../commands/set.md):
    30    Define a local variable and set it's value
    31  * [`str` (string)](../types/str.md):
    32    string (primitive)
    33  * [`string` (stringing)](../types/str.md):
    34    string (primitive)
    35  
    36  <hr/>
    37  
    38  This document was generated from [gen/variables/COLUMNS_doc.yaml](https://github.com/lmorg/murex/blob/master/gen/variables/COLUMNS_doc.yaml).