src/editor.h
int screencols()
    {
        struct winsize w;
        ioctl(0, TIOCGWINSZ, &w);
        return (w.ws_col);

    }
/*
     * Number of cols that we can show
     */
Number of cols that we can show
Number of cols that we can show
int screencols()
    {
        struct winsize w;
        ioctl(0, TIOCGWINSZ, &w);
        return (w.ws_col);
    }
int screencols ( ) { struct winsize w ; ioctl ( 0 , TIOCGWINSZ , & w ) ; return ( w . ws_col ) ; }
Number of cols that we can show
Number of cols that we can show