NaXzyu / Dialogos

Dialogos: Pioneering Interactive Narratives and Language Proficiency with Enhanced AI in Unity
MIT License
3 stars 1 forks source link

Refactor TerminalCommand to Utilize SessionManager for Static Terminal Property #6

Open p3nGu1nZz opened 5 months ago

p3nGu1nZz commented 5 months ago

Overview

The current implementation of the TerminalCommand class uses a static property to reference the terminal instance. This approach can lead to issues with flexibility and testability. To improve the design, we propose refactoring the TerminalCommand class to use the SessionManager for managing terminal instances.

Goals

Tasks

Acceptance Criteria

Please review the proposed changes and provide feedback or approval to proceed with the implementation.