diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 07:01:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-01 07:01:18 -0700 |
commit | a997f22131a7c98505cebcc88f3badd67a50518d (patch) | |
tree | b3094e7df08962db3db06af5a7222d7949f61df4 /HACKING-toc.txr | |
parent | b8e093dbaae99d2dc12157fcce1bb12ba26b8d3e (diff) | |
download | txr-a997f22131a7c98505cebcc88f3badd67a50518d.tar.gz txr-a997f22131a7c98505cebcc88f3badd67a50518d.tar.bz2 txr-a997f22131a7c98505cebcc88f3badd67a50518d.zip |
linenoise: move modulo operation into function.
* linenoise/linenoise.c (col_offset_in_str): Take a cols
parameter and wrap the return value into the number of
columns.
(refresh_multiline): No need to do the % cols operation on the
return value of col_offset_in_str any more; just pass cols
down into it.
Diffstat (limited to 'HACKING-toc.txr')
0 files changed, 0 insertions, 0 deletions