bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to handle negative bytes?


From: Anmol Sethi
Subject: how to handle negative bytes?
Date: Fri, 22 Apr 2016 15:52:52 -0400

I’m writing a pure go terminfo library. term(5) says "The value -1 is 
represented by the two bytes 0377, 0377; other negative values are illegal”. So 
does this mean if I read any negative short integer that is not -1, should I 
throw an error? Or should I just continue on?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]