Commit Graph

37 Commits

Author SHA1 Message Date
Kenneth Shaw c70fa9169a
Changing to Go modules (#294)
Changes to Go modules, removes vendored files, and runs Go format across
all Go source files.
2021-05-12 12:39:23 +01:00
rrrooommmaaa 1f05951012 bug fix: character under cursor rendering (#194) 2019-02-05 13:16:38 +00:00
rrrooommmaaa 07952f7505 Underline support (#193)
* added Tab Stops support

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

* bug fix: cursor rendition in Origin Mode

* bug fix: SGR parameters handling

* Save/Restore Cursor updates. Partial charset implementation.

* added Underline support

* fixed underline position

* underline position measured in MinY
2019-02-05 13:16:16 +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 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
nikitar020 1b843e338d In order to cope with high memory consumption, remove the 'rectangles' member from OpenGLRenderer structure (#152) 2019-01-17 12:18:31 +00:00
nikitar020 43072eb024 Changes to minimize memory allocations and to ensure OpenGL objects cleanup (#148) 2019-01-14 20:50:03 +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 177e928b71 more efficient text rendering and streamlining of output handling 2018-12-01 22:09:20 +00:00
Liam Galvin adbbf0f5cf gofmt everythign 2018-11-29 13:04:47 +00:00
Liam Galvin 3e6b7e4f14 Fixed render issues with cached rectangles and fixed powerline font rendering 2018-11-23 17:01:50 +00:00
Liam Galvin 3193c2c43a added multi font support including emoji, powerline rune ranges etc. 2018-11-15 12:17:40 +00:00
Liam Galvin 1c96cb83d5 add hinting 2018-10-29 20:35:49 +00:00
Liam Galvin bdd173f5bf remove render code from buffer package, add to renderer, improve texture drawing efficiency 2018-10-29 09:53:30 +00:00
Liam Galvin 20c3c0cb14 sixel working 2018-10-27 22:06:26 +01:00
Liam Galvin 6df9ad1cf3 text selection and copy/paste 2018-10-24 12:15:43 +01:00
Liam Galvin 6c3f347671 improve font rendering 2018-10-24 09:34:46 +01:00
Liam Galvin cf2aef96e4 rename 2018-10-21 15:11:10 +01:00
Mikkel Oscar Lyderik Larsen 58d9b4a435
Change import to github.com
Changes the import from `gitlab.com` to `github.com`.

Without this Go gets confused.

```
main.go:13:2: cannot find package "gitlab.com/liamg/raft/config" in any of:
	/home/moscar/projects/go/src/github.com/liamg/raft/vendor/gitlab.com/liamg/raft/config (vendor tree)
	/usr/lib/go/src/gitlab.com/liamg/raft/config (from $GOROOT)
	/home/moscar/projects/go/src/gitlab.com/liamg/raft/config (from $GOPATH)
main.go:14:2: cannot find package "gitlab.com/liamg/raft/gui" in any of:
	/home/moscar/projects/go/src/github.com/liamg/raft/vendor/gitlab.com/liamg/raft/gui (vendor tree)
	/usr/lib/go/src/gitlab.com/liamg/raft/gui (from $GOROOT)
	/home/moscar/projects/go/src/gitlab.com/liamg/raft/gui (from $GOPATH)
main.go:15:2: cannot find package "gitlab.com/liamg/raft/terminal" in any of:
	/home/moscar/projects/go/src/github.com/liamg/raft/vendor/gitlab.com/liamg/raft/terminal (vendor tree)
	/usr/lib/go/src/gitlab.com/liamg/raft/terminal (from $GOROOT)
	/home/moscar/projects/go/src/gitlab.com/liamg/raft/terminal (from $GOPATH)
```

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2018-10-20 18:49:01 +02:00
Liam Galvin ada4e924f9 fix text positioning 2018-09-02 18:20:01 +01:00
Liam Galvin 450f9f01bc better rendering 2018-09-02 15:13:33 +01:00
Liam Galvin be60c1d053 fix background renderinf 2018-09-01 21:19:13 +01:00
Liam Galvin f0a1742c0a Fix VT200 and X10 mouse mode support 2018-09-01 20:24:16 +01:00
Liam Galvin e5e7d09656 relocated font package and tidied up font rendering 2018-09-01 19:55:25 +01:00
Liam Galvin e673e72ad9 simplified cursor rendering 2018-08-31 20:24:58 +01:00
Liam Galvin 54c2aed4a5 fix render bugs 2018-08-31 20:01:27 +01:00
Liam Galvin 88528fc6b0 efficiency, introduced resize bug though :/ 2018-08-24 17:32:08 +01:00
Liam Galvin 76d846bcfe slomo toggle 2018-08-13 09:35:32 +01:00
Liam Galvin 6d10ffd17c alt buffer 2018-08-12 15:16:26 +01:00
Liam Galvin 06526f4beb scrollback buffer 2018-08-10 13:46:35 +01:00
Liam Galvin 83988cd2ce cursor 2018-08-09 18:03:33 +01:00
Liam Galvin 2ea6f067c5 cursor basics 2018-08-09 17:52:34 +01:00
Liam Galvin 8f1efd822e nice colour scheme by default 2018-08-09 15:29:27 +01:00
Liam Galvin 8649ab7d76 fix deletion on wrapped line 2018-08-09 14:59:19 +01:00
Liam Galvin bc8bf9852d efficient rendering with backgrounds 2018-08-09 14:07:10 +01:00
Liam Galvin 5e2c2ca690 things 2018-08-09 13:30:16 +01:00
Liam Galvin e54e0e2182 more rendering code 2018-08-07 12:19:25 +01:00