You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using any of the cursor-moving API (such as cursor_at, terminal.print(..., pos=...) and others) the user has to manually include the terminal origin to get the desired result. This could, and should just be done implicitly by the library.
Describe the solution you'd like
All of these methods should just include the origin by default. It would be ideal for them all to call a central function that does it this way, which would perfectly coincide with my desires to separate ansi_interface functionality into its own unit, including a class and instance for the terminal's cursor. This could then just be called with a position (such as ptg.cursor.move(pos)), and that action would just include the origin.
Additional context
s/o to #55 and #53 for exposing this issue, both started by the now very important library tester @leftbones.
The text was updated successfully, but these errors were encountered:
Now the terminal's write method includes the origin, so this issue is practically fixed. Including it in other places is messy, since move_cursor's module (ansi_interface) doesn't have access to the terminal's origin.
Is your feature request related to a problem? Please describe.
When using any of the cursor-moving API (such as
cursor_at
,terminal.print(..., pos=...)
and others) the user has to manually include the terminal origin to get the desired result. This could, and should just be done implicitly by the library.Describe the solution you'd like
All of these methods should just include the origin by default. It would be ideal for them all to call a central function that does it this way, which would perfectly coincide with my desires to separate
ansi_interface
functionality into its own unit, including a class and instance for the terminal's cursor. This could then just be called with a position (such asptg.cursor.move(pos)
), and that action would just include the origin.Additional context
s/o to #55 and #53 for exposing this issue, both started by the now very important library tester @leftbones.
The text was updated successfully, but these errors were encountered: