iwatch icon indicating copy to clipboard operation
iwatch copied to clipboard

broken display if the terminal width > 180

Open yasuoka opened this issue 7 years ago • 0 comments

The following patch is required to display like below iwatch-300col

diff -u iwatch.c~ iwatch.c
--- iwatch.c~   2018-05-11 19:27:22.156024496 +0900
+++ iwatch.c    2018-05-11 19:28:37.701205581 +0900
@@ -41,7 +41,7 @@
 #define DEFAULT_INTERVAL 2
 #define MAXLINE 300
-#define MAXCOLUMN 180
+#define MAXCOLUMN 300
 #define MAX_COMMAND_LENGTH 128
 #define NUM_FRAQ_DIGITS_USEC   6       /* number of fractal digits for usec */

reported by @msaitoh

yasuoka avatar May 14 '18 02:05 yasuoka