-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add number display for post-pushing #42
Comments
這應該是提供外掛機制才能做的事。 |
hwangcc23
added a commit
to hwangcc23/pcmanx
that referenced
this issue
Apr 13, 2016
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.
Closed
hwangcc23
added a commit
to hwangcc23/pcmanx
that referenced
this issue
Apr 13, 2016
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
added a commit
to hwangcc23/pcmanx
that referenced
this issue
Apr 13, 2016
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
added a commit
to hwangcc23/pcmanx
that referenced
this issue
Apr 18, 2016
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Number display for post-pushing is good for user to interact with other user in the same post
Here is a sketch
This function also have been implemented in JPTT & MoPTT (Close Source App)
The text was updated successfully, but these errors were encountered: