Use _nc_tparm_analyze() instead of trying to do it ourselves in process().
authormillert <millert@openbsd.org>
Wed, 8 Feb 2023 15:56:32 +0000 (15:56 +0000)
committermillert <millert@openbsd.org>
Wed, 8 Feb 2023 15:56:32 +0000 (15:56 +0000)
commitef6913ff4a6b686540767e9254e9a133ed3f81ed
tree1b94a2c34709bf7959226b0b99a72a0846b1eac6
parentc969aecdabe8def8e9c6f2f67841593753a8fbdd
Use _nc_tparm_analyze() instead of trying to do it ourselves in process().
This fixes tput when used with a capability that uses push/pop.
OK gkoehler@
usr.bin/tput/tput.c