-
Notifications
You must be signed in to change notification settings - Fork 51
Read term_common_params from the snapshot #1895
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
Read term_common_params from the snapshot #1895
Conversation
d353f06 to
c474f2d
Compare
e103418 to
cb64747
Compare
40666c6 to
0584ff0
Compare
| self.term_params.as_ref() | ||
| } | ||
|
|
||
| pub fn snapshot_term_params(&mut self) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a more proper name than snapshot_term_params.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know snapshot is a little bit confusing. It collides with the name of the snapshot sync feature and it is awkward to use it as a verb to me, but I can't think of a better one. Can you suggest a good one? How about freeze_?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind if we change the name later? @remagpie is dependant on this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the name is not a big deal in my work. You can change it now if you want.
acd786a to
60a235b
Compare
`term_params` should be snapshot every `on_term_close`
60a235b to
cd9a669
Compare
Depends on: #1893