Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numbering post push #75

Closed
wants to merge 2 commits into from

Commits on Apr 6, 2016

  1. Configuration menu
    Copy the full SHA
    c69e6ab View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2016

  1. Numbering Post-Push

    Numbering Post-Push is a good function for discussion in one post.
    See the issue pcman-bbs#42(pcman-bbs#42).
    
    1). Add a field PostPushNum in the line structure.
    The line structure:
    struct{ char[ColsPerPage], char='\0', CTermCharAttr[ColsPerPage, char=0]}
    [ ColsPerPage*char + '\0' + ColsPerPage*CTermCharAttr + PostPushNum ]
    
    2). Detect Post-Push lines and numbering them whenever a character is added in the screen buffer of CTermData.
    
    3). Save the number in PostPushNum of Post-Push lines.
    
    4). Draw PostPushNum in CTermView:DrawChar().
    
    5). Fix a bug of buffer overflow in CTermData::InsertChar(). p.s. Though the function is not used now.
    hwangcc23 committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    0e6b5f4 View commit details
    Browse the repository at this point in the history