Commit Graph
10 Commits
Author SHA1 Message Date
Matthew R. Wilson b6fa48f37f Alternate screen size support.
This is a relatively big new feature, which introduces small breaking changes
to the API:

 * NegotiateTelnet() now returns (DevInfo, error) instead of just error.  The
   function signature for the Tx type now has one additional DevInfo parameter.
 * RunTransactions() requires one additional parameter, the DevInfo (which is
   allowed to be nil).

Otherwise, existing behavior continues to work as-is and everything still
defaults to operating on the default 24x80 terminal size.

See example5 for a larger-terminal-aware application.

Pending some time to make sure no new bugs cropped up in this release and that
the alternate screen size support works in the wild, I anticipate this will
become the v1.0.0 release of go3270.
2025-06-29 12:58:18 -07:00
Matthew R. Wilson 78aaf72e84 Add RunTransactions() approach to application design 2025-04-13 22:04:54 -07:00
Matthew R. Wilson 5f2d7355e4 Non-screen-clearing update support
New ShowScreenOpts() function, which takes a new ScreenOpts struct, to control
various aspects of the ShowScreen behavior. This should now be used in favor of
the deprecated ShowScreen() and ShowScreenNoResponse() functions, and allows
for the additional of future options without needing to continue making new
functions or breaking the public API.
2025-04-12 16:56:24 -07:00
Matthew R. Wilson cfa06ec4bc Issue #4: add and use telnetRead() function 2020-12-30 15:55:31 -08:00
Matthew R. Wilson 123df70716 Add telnet options reference to readme 2020-12-26 02:02:58 -08:00
Matthew R. Wilson 7a7e8165dd Update README to reflect the 2 examples 2020-12-07 02:00:48 -08:00
Matthew R. Wilson a2aa93587d Update readme 2020-11-04 15:34:08 -08:00
Matthew R. Wilson 655290c2ca Add link to intro video in readme 2020-11-02 23:19:49 -08:00
Matthew R. Wilson d27f1136eb Update readme 2020-11-02 17:46:55 -08:00
Matthew R. Wilson 0243fc3e13 Project creation; initial screen send capability 2020-11-02 01:00:30 -08:00