Commit graph

40 commits

Author SHA1 Message Date
Kunal Mohan
588cdaa008 isolate pty thread 2021-05-04 20:47:48 +05:30
Aram Drevekenin
845211c1ee
Terminal compatibility: Pass vttest 2 and 3 (#447)
* fix(compatibility): pass vttest 2+3

* style(fmt): rustfmt

* style(comment): remove unused

* docs(changelog): update change
2021-05-03 19:11:31 +02:00
Kyle Sutherland-Cash
69d34c3e09 Don't commit to master like an idiot... :( 2021-05-01 09:32:30 -07:00
Kyle Sutherland-Cash
bb2369dcb8 Use Bus type for PTY thread (incomplete) 2021-05-01 08:48:58 -07:00
Horasal
454ad0ed19
Enable should_render (fix pane render) (#318)
* fix pane render when switch/resize tab

* render when reflow_lines

* back to always render because widechar issue

* fix clippy

* force_render when current grid contains widechar

* bug fix

* pane_contains -> panes_contain

* fix conflict

* fix(terminal): bring back should_render

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2021-04-30 16:01:15 +02:00
Brooks J Rady
964bc7b7f3 fix(style): fix up some unneeded .as_mut() and if let 2021-04-29 16:15:37 +01:00
Aram Drevekenin
cedd830a2e
Terminal: pass vttest 1 (#408)
* fix(compatibility): pass vttest 1

* fix(tests): move unit tests to a separate file

* style(fmt): rustfmt

* fix(grid): correct comment

* style(fmt): rustfmt
2021-04-29 15:25:08 +02:00
Dante Pippi
f5b781c66f Adding field active_at and using it to sort panes
Using last activity time to determine which pane was previously active
when moving back to a direction.

Changing active_at type to Instant
2021-04-22 20:59:56 -03:00
Aram Drevekenin
169e25af66
fix(ui): draw ui properly on terminal start (#323)
* fix(ui): draw ui properly on terminal start

* style(fmt): rustfmt
2021-04-22 20:55:23 +02:00
Aram Drevekenin
fc2110ab68
fix(stability): do not clear line if it's not there (#289)
* fix(stability): do not clear line if it's not there

* style(fmt): rustfmt
2021-04-21 17:07:49 +02:00
Aram Drevekenin
475c2db4be
fix(compatibility): properly scroll up in scroll region (#274) 2021-04-16 17:20:51 +02:00
Aram Drevekenin
833381bca8
Stability fixes (#273)
* fix(grid): various recoveries from a corrupted state

* style(fmt): rustfmt

* fix(grid): more stability fixes

* style(fmt): rustfmt
2021-04-15 20:14:35 +02:00
Aram Drevekenin
58fad06ebe
fix(compatibility): bash reverse search (#271) 2021-04-14 15:05:43 +02:00
Aram Drevekenin
f9fe1856f2
fix(compatibility): rotate scroll region (#270) 2021-04-14 14:08:46 +02:00
Aram Drevekenin
ceb2ebbd2b
fix(terminal): persiste vte state (#269)
* fix(terminal): persist vte state

* style(fmt): rustfmt
2021-04-14 13:52:45 +02:00
Brooks J Rady
4ae48916b6 fix(style): run rustfmt 2021-04-13 21:08:15 +01:00
Brooks J Rady
265d039456 fix(perf): fixed a crash when cating large files and bounded memory usage 2021-04-13 20:57:53 +01:00
Brooks J Rady
6f4dcfbf65 fix(clippy): get ci passing again 2021-04-13 18:14:13 +01:00
Aram Drevekenin
313ac9f414
fix(performance): remove unnecessary allocations from pty (#264)
* work

* refactor(pty): removed unused code

* style(comment): remove unused

* style(fmt): rustfmt
2021-04-12 16:00:05 +02:00
Aram Drevekenin
f23118a20a
fix(compatibility): reset (#261) 2021-04-09 15:00:18 +02:00
Aram Drevekenin
1c71d16eb5
fix(terminal): support bright colors (#256)
* fix(terminal): support bright colors

* style(fmt): make it uglier because rustfmt
2021-04-06 15:16:18 +02:00
Aram Drevekenin
f84d293c1b
fix(terminal): reset styles on cursor movement (#254) 2021-04-05 16:37:21 +02:00
Aram Drevekenin
1739f370f9
* fix(ui): react to terminal window size changes (SIGWINCH) (#245)
* fix(ui): react to terminal window size changes (SIGWINCH)

* style(fmt): rustfmt

* style(format): remove some warnings

* style(fmt): rustfmt
2021-04-01 17:38:13 +02:00
Brooks J Rady
f2f7758384 Merge in changes from main and fix clippy lints 2021-03-25 14:24:11 +00:00
Aram Drevekenin
e1e1f21043
fix(render): various rendering issues (#238) 2021-03-24 10:58:50 +01:00
Brooks J Rady
9bc7a268ce Merge changes from main 2021-03-23 16:42:54 +00:00
Brooks J Rady
a1e6171031 Rename references of 'draw' to 'render' for plugins 2021-03-23 16:26:34 +00:00
Aram Drevekenin
46c9802f6f
Performance: only render panes that should be updated (#234)
* fix(performance): bring back should_render

* style(fmt): rustfmt
2021-03-16 16:54:07 +01:00
Aram Drevekenin
ac358d913c
fix(performance): smaller allocations when rendering (#222) 2021-03-12 14:27:13 +01:00
Brooks J Rady
1dd4045e23 Clippy compels me to cull code 2021-03-09 22:20:16 +00:00
Aram Drevekenin
54c500b230
fix(grid): do not crash when reflowing lines with an empty top buffer (#211) 2021-02-25 18:20:01 +01:00
Aram Drevekenin
6d623b3f1e
Fix vim background color (#210)
* fix(compatibility): properly pad characters with styling on newlines

* style(fmt): rustfmt
2021-02-25 17:15:20 +01:00
Aram Drevekenin
c0a0af3133
fix(compatibility): do not forward tabs to the terminal (#190)
* fix(compatibility): do not forward tabs to the terminal

* style(fmt): rustfmt
2021-02-18 11:07:57 +01:00
Aram Drevekenin
831d26156e
fix(compatibility): get top not to break everything when exiting (#188) 2021-02-17 15:55:38 +01:00
categorille
6e5607ba26
docs: first documentation step (#185)
* added some documentation to the input module

* added a bunch of documentation already, doing this non-linearly

* added more comments

* forgot cargo ftm again oop

* PR change requests applied, some forgotten/imcomplete doc added
2021-02-17 15:55:09 +01:00
Aram Drevekenin
14783c2b2c
feat(ui): new keybindings and status bar (#160)
* work

* feat(statusbar): new design and keybindings

* fix(ipc): add missing const

* style(fmt): rustfmt

* style(input): remove accidental comment
2021-02-09 17:36:37 +01:00
denis
354316d20c chore: formatting 2021-01-29 07:25:58 +02:00
denis
be9a059116 wip: moved stuff from main into common 2021-01-29 07:21:33 +02:00
denis
6a3481f54f Merge branch 'main' into restructure 2021-01-29 06:24:59 +02:00
denis
b23ef332c7 wip: restructing in progress, to prep for server-client 2021-01-24 18:38:46 +02:00