Commit Graph

30 Commits

Author SHA1 Message Date
Kenneth Shaw 73ee2bef97 Changing to Go modules
Changes to Go modules, removes vendored files, and runs Go format across
all Go source files.
2021-05-08 08:49:50 +07:00
Menno Finlay-Smits 35193b7981 Gofmt (#216)
* Added Make targets for gofmt

- `make check-gofmt` will check for files that aren't gofmt compliant
- `make gofmt` will fix any gofmt error's in Aminal's source

Vendored files are ignored.

* Add gofmt check to TravisCI checks

* Fix gofmt errors
2019-02-14 16:45:53 +00:00
nikitar020 22a5e8063a Implement three selection modes: char, word, and line. Make selection work in the same way as in Putty. (#191) 2019-02-04 13:24:49 +00:00
nikitar020 aad680440d Fix the bug when carriage returns doubled on input (#188)
fix tests
2019-01-31 18:48:55 +00:00
rrrooommmaaa 23797d50f3 Vttest 2 (#187)
* added Tab Stops support

* added support for Screen Mode (DECSCNM) -- reverse colors

* bug fix: cursor rendition in Origin Mode
2019-01-30 15:42:55 +00:00
rrrooommmaaa d2214b7915 added Tab Stops support (#175) 2019-01-27 11:56:23 +00:00
rrrooommmaaa 4e7b8b40e7 Vttest (#173)
* Correct handling of DeviceAttributes request

* added DECCOLM support

* added DECALN control sequence support

* added NEL support

* bug fix: Erase To Cursor should be inclusive

* added support for 'Origin Mode' (DECOM) -- top/bottom margins only

* vttest test 1 screen 3: margin tests fixes

* added support for intermediate controls inside CSI sequence

* added support for LNM (Line Feed/New Line Mode)

* removed obsolete 'intermediate' parameter

* window resize on programmatic CSI resize

* DECCOLM should clear screen on both set and reset

* bug fix in autowrap mode

* TestCursorMovement runs all test cases; screen template images updated

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>

* bug fix: line mode messing with autowrap

* added ResetVerticalMargins() method

* IsAutoWrap(), IsNewLineMode()

* corrected DECALN

* fixed NEL to work in Line Feed mode

* tyding up: removed map of 1 element

* Terminal state moved out from buffer

* fix
2019-01-25 22:43:56 +00:00
rrrooommmaaa 9c60167ca8 Vttest (#162)
* Correct handling of DeviceAttributes request

* added DECCOLM support

* added DECALN control sequence support

* added NEL support

* bug fix: Erase To Cursor should be inclusive

* added support for 'Origin Mode' (DECOM) -- top/bottom margins only

* vttest test 1 screen 3: margin tests fixes

* added support for intermediate controls inside CSI sequence

* added support for LNM (Line Feed/New Line Mode)

* removed obsolete 'intermediate' parameter

* window resize on programmatic CSI resize

* DECCOLM should clear screen on both set and reset

* bug fix in autowrap mode

* TestCursorMovement runs all test cases; screen template images updated

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>

* bug fix: line mode messing with autowrap

* added ResetVerticalMargins() method

* IsAutoWrap(), IsNewLineMode()

* corrected DECALN

* fixed NEL to work in Line Feed mode

* tyding up: removed map of 1 element
2019-01-24 13:03:47 +00:00
Max Risuhin a8ed9d472e Windows support and enhancements. (#123)
*  Windows support and enhancements.

 - Added basic platform abstraction layer for Pty and Process creation;
 - Added "platform" package that exposes a few interfaces and provides implementations for different platforms;
 - Windows build and dev env setup instructions;
 - Setup Travis and deploy git tags to GItHub releases;
 - Window scaling awares of monitor's dpi;
 - Resolved memory leaks on window resizing;
 - Default limit for terminal's buffer length.

Co-authored-by: nikitar020 <nikitar020@mail.ru>
Co-authored-by: Max Risuhin <risuhin.max@gmail.com>
Co-authored-by: Roman Shevchenko <rrrooommmaaa@mail.ru>

* ReadMe updated with Windows support; Detecting of currently used monitor.
2019-01-07 12:00:08 +00:00
Liam Galvin 4b97358eb0
Fix newline at end of buffer issue (#122)
* Fix newline at end of buffer issue

* Fix newline at end of buffer issue
2019-01-04 13:47:28 +00:00
Liam Galvin 03fd345079 fix tabbing 2018-12-03 12:00:36 +00:00
Liam Galvin 177e928b71 more efficient text rendering and streamlining of output handling 2018-12-01 22:09:20 +00:00
Liam Galvin 26be543e0e wrapping problems 2018-11-12 09:46:27 +00:00
Liam Galvin de3f07897f fix apt scrollbars 2018-11-04 18:58:12 +00:00
Liam Galvin 4a8a2226e7 fix vim bug and dodgy deletes 2018-10-23 17:13:58 +01:00
Liam Galvin d145a6d8d0 remove comments/debug 2018-10-21 13:30:32 +01:00
Liam Galvin 5e45e820ea switch to glfw beta 3.3 to avoid X11 joystick issue 2018-10-21 11:46:40 +01:00
Liam Galvin be60c1d053 fix background renderinf 2018-09-01 21:19:13 +01:00
Liam Galvin 06526f4beb scrollback buffer 2018-08-10 13:46:35 +01:00
Liam Galvin c2b7f94f87 fix resizing 2018-08-10 12:53:47 +01:00
Liam Galvin 2ea6f067c5 cursor basics 2018-08-09 17:52:34 +01:00
Liam Galvin 8649ab7d76 fix deletion on wrapped line 2018-08-09 14:59:19 +01:00
Liam Galvin 11b4a2e487 buffer is getting pretty solid 2018-08-08 13:27:12 +01:00
Liam Galvin 9ac2e9cba0 ess 2018-08-08 00:34:44 +01:00
Liam Galvin 132ce51f78 found problem with new line and carriage return handiling 2018-08-07 21:26:48 +01:00
Liam Galvin db99bac004 Fixed CSI-J-1 erase line to cursor 2018-08-07 21:07:22 +01:00
Liam Galvin 444f716c64 tests 2018-08-07 21:00:34 +01:00
Liam Galvin d5f5cf8592 lots more progress 2018-08-07 17:58:55 +01:00
Liam Galvin 002d617630 nice tested buffer package 2018-08-06 14:51:23 +01:00
Liam Galvin cc2aa87e5d started work on new buffer 2018-08-05 22:20:10 +01:00