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
Using fgets() to read user input from the stdin buffer is a fragile solution that required proper handling on the VTE-end. This impacts the portability as implementation of terminfo flags varies and is not guaranteed. Going forward, we need a solution that has fewer dependencies on the actual VTE.
Considerations...
Do nothing. Set VTE flags via escape command sequences. Reduces portability as user experience may vary from terminal emulator to terminal emulator.
Restrict input char length. This probably the easiest solution, but really hinders the project and user experience.
Create a custom text editor. This will quickly increase the size of kirc and adds unwanted complexity.
Bring your own editor (BYOE)! This probably my favorite concept but possibly adds significant complexity to how kirc interacts with external editors.
The text was updated successfully, but these errors were encountered:
Using
fgets()
to read user input from the stdin buffer is a fragile solution that required proper handling on the VTE-end. This impacts the portability as implementation of terminfo flags varies and is not guaranteed. Going forward, we need a solution that has fewer dependencies on the actual VTE.Considerations...
Do nothing. Set VTE flags via escape command sequences. Reduces portability as user experience may vary from terminal emulator to terminal emulator.Restrict input char length. This probably the easiest solution, but really hinders the project and user experience.Bring your own editor (BYOE)! This probably my favorite concept but possibly adds significant complexity to how kirc interacts with external editors.The text was updated successfully, but these errors were encountered: