Commit Graph

3 Commits

Author SHA1 Message Date
686dbd9ae4
Upated context_manager
Added a getter function to return the current state of the global
context manager.
2023-01-13 16:02:11 +00:00
a66d9ae62f
Updated context_manager/init.lua
- Added diagram for global context manager (GCM) structure.
- Removed local func@get_ctx_head (unused).
- Updated func@M.update:
	- function takes 2 parameter arguments (see docstring).
	- constructs new record for the given context in the GCM to keep
	  record of a newly constructed window buffer.
	- function updates the GCM with the new record.
- Updated func@M.flush:
	- handles for new structure of records in the GCM.
	- see docstring for info.
2023-01-10 22:02:16 +00:00
90b57ed4b1
Added context manager module
Added a context manager for handling and managing windows/buffers
constructed by built-ins. This was handled by the `new()` function in
presser/init.lua but is now a dedicated module.
2023-01-09 19:44:44 +00:00