* 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
If dpi-scale is set in aminal.toml then this overrides aminal's own
DPI calculation. This is useful for working around unusual monitor
setups or users just who prefer a different DPI scale.
* Do not trigger window resizing work if no change in dimensions;
Redundant dpiScale removed from GUI; dpiScale used to calculate desired size in pixels.
* Keep last applied window size
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
* 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
* Run vttest on Travis to validate active buffer data and screenshot.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
* Add deps sources to vendor
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
* 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.