Replies: 1 comment
-
after putting logs, I now understand the logic. What confused me was the naming of the variable |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to understand the codebase as I also want to implement a terminal emulator.
But I have a question, it seems that the ringbuffer moves its internal index backward.
For example, if we save 1, 2, 3. Internally they are saved as 3,2,1, I'm curious why this is the case?
does this design have benefits in terms of avoiding data copying and allocation? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions