Ashish Kumar Yadav
68e40c845c
term.scr should also be set to 0 - treset
2021-08-02 12:26:09 +05:30
Ashish Kumar Yadav
ca41c664ea
-Og so that stack trace can tell something if st crashes
2021-08-02 12:16:05 +05:30
Ashish Kumar Yadav
6c8aa87abb
Fixed bugs, cleanup, conventional behaviour on resize
...
1) Lowered the value of HISTSIZE to 2000.
2) Scroll down on increasing height (on resizing).
3) No need to alloc maxcols to alt screen.
4) term.c.y is taken from tcurbuf for inactive screen. But it can be holding
a value from previous window dimensions if the terminal window was resized
while the screen was inactive. Fixed this bug by limiting the value of
term.c.y to term.row - 1.
5) Improved tresize function overall.
2021-08-02 12:08:11 +05:30
Ashish Kumar Yadav
bce0ee09ec
Fixed MODKEY bindings
2021-08-01 22:09:48 +05:30
Ashish Kumar Yadav
42b2887995
Use defaultfg and defaultbg when resizing
...
Avoids blinding white flashes. Maybe the "wrong" way, but all terminals I have
checked follow this way.
2021-08-01 20:35:32 +05:30
Ashish Kumar Yadav
aedb0502c6
Clear history buffer on treset
2021-08-01 20:04:38 +05:30
Ashish Kumar Yadav
d38d0e399c
Removed WM_ICON_NAME and implemented titlestack
...
This reverts 28b4c822c5
and
4ef0cbd8b9
.
Also implements titlestack and support for CSI 22 and 23.
2021-08-01 19:31:17 +05:30
Ashish Kumar Yadav
59c465eba4
defaultclass and defaultname are only used in st.c
2021-08-01 16:45:33 +05:30
Ashish Kumar Yadav
789f229f9c
Revert "-T now fixes the title" with its bugfix
...
This reverts caa571bd4e
and
b32a755876
.
2021-08-01 15:16:13 +05:30
Ashish Kumar Yadav
2726f5f68c
Improved scroll bindings
2021-08-01 11:37:33 +05:30
Ashish Kumar Yadav
87517faba7
Shouldn't type be updated before the call, since selnormalize uses type
2021-08-01 04:37:28 +05:30
Ashish Kumar Yadav
ffeb446889
Revert "Manually applied font2 patch"
...
This reverts commit 5cf49660ce
.
Doesn't make any difference.
2021-08-01 03:38:54 +05:30
Ashish Kumar Yadav
5cf49660ce
Manually applied font2 patch
2021-08-01 03:37:03 +05:30
Ashish Kumar Yadav
8da8f3841c
Swapped selmasks
2021-08-01 03:06:34 +05:30
Ashish Kumar Yadav
deb4f885c2
More appropriate I guess - gp->mode to ATTR_NULL rather than 0
2021-08-01 00:02:41 +05:30
Ashish Kumar Yadav
edcc9ee4e1
Don't use current attributes for history lines
2021-07-31 23:45:49 +05:30
Ashish Kumar Yadav
a727f73541
Improved selectioncolors
2021-07-31 22:17:10 +05:30
Ashish Kumar Yadav
34ee8be7d4
Updated bindings
2021-07-31 20:15:29 +05:30
Ashish Kumar Yadav
d8a35ef3dc
Cleanup
2021-07-31 20:02:42 +05:30
Ashish Kumar Yadav
635eaac216
Fixed selection bug in tresize
2021-07-31 19:32:34 +05:30
Ashish Kumar Yadav
712f4f86db
Changed selmasks
2021-07-31 19:12:08 +05:30
Ashish Kumar Yadav
51928ed51e
Updated keybindings
2021-07-31 18:57:13 +05:30
Ashish Kumar Yadav
a18b9fc4fc
Fixed bug from 3138d93aa2
in tresize
2021-07-31 03:06:47 +05:30
Ashish Kumar Yadav
bd8912b638
Fixed selection clearing on resize
...
Even if the horizontal size is increasing, selection should be cleared
if it spans across lines, otherwise it would get corrupted.
2021-07-30 12:36:04 +05:30
Ashish Kumar Yadav
54cf78ab24
This is more appropriate - tresize
2021-07-30 12:30:01 +05:30
Ashish Kumar Yadav
f10e350434
Cleanup; renamed st-0.8.4 to st
2021-07-29 21:14:52 +05:30
Ashish Kumar Yadav
962220732b
Changed defaultclass
2021-07-29 20:53:37 +05:30
Ashish Kumar Yadav
3138d93aa2
Fixed tresize regarding cursor movement, cleanup
...
Resizing used to throw the cursor around creating empty lines in
history buffer and the screen. This fixes that.
2021-07-29 19:43:14 +05:30
Ashish Kumar Yadav
a65b75d4ff
Simplified newterm and removed unnecessary workaround
...
changind directory and setting PWD env does the job
See fe6cf64326
and
1864d67dac
2021-07-29 16:56:13 +05:30
Ashish Kumar Yadav
5c4ad63c41
Made class hints configurable
2021-07-29 03:48:14 +05:30
Ashish Kumar Yadav
8a9dcbd530
Cleanup; Do clear screen handling the alacritty way
2021-07-29 03:27:32 +05:30
Ashish Kumar Yadav
ed137cbb84
Fixed bug in tresize related to scrolling; optimization?
2021-07-29 02:43:06 +05:30
Ashish Kumar Yadav
9f55d579fe
Cleanup (kscrolldown is not required, tscrollup is enough
2021-07-29 01:42:53 +05:30
Ashish Kumar Yadav
2aecf97563
Don't cut content on resizing, bug fixes, cleanup
...
1) Fixed bug in tscrollup if (s > 0 && .. branch
2) Fixed bug in clearregion in checking for selection
3) Implemented column patch to scrollback
(https://github.com/juliusHuelsmann/st-history-vim/releases/download/tmpColDraft/0001-feat-create-column-patch-equivalent-for-unpatched-st.patch )
It prevent cutting of content when resizing
4) Added to that missing selclear, when selection goes in not-visible region
2021-07-29 00:44:29 +05:30
Ashish Kumar Yadav
8d5e93678a
Cleanup, improved and fixed scrolling
...
1) Fixed bug from last commit regarding selscroll
When history is not going to be saved, selscroll should be used.
2) Don't scroll in altscreen
3) term.histf to not scroll when history is not available
4) Screen goes to history when clearing
5) Resizing doesn't mess up history
2021-07-28 20:37:42 +05:30
Ashish Kumar Yadav
49e814005c
Revert "Applied changes by beyondmagic to scrollback"
...
This reverts commit 7672445bab
.
2021-07-28 01:44:00 +05:30
Ashish Kumar Yadav
7c257e323c
Cleanup, bug fixes and improvements
...
1) tscrolldown should never copyhist
It used to do in RI esc escape, but it should not do it there.
That causes history erasal.
2) improved selection
Now more than a page content can be selected.
3) fixed history copying in tscrollup
4) improved kscrollup and kscrolldown
2021-07-28 01:39:28 +05:30
Ashish Kumar Yadav
caa571bd4e
Fixed bug from last commit
2021-07-27 03:51:21 +05:30
Ashish Kumar Yadav
b32a755876
-T now fixes the title
2021-07-27 03:17:24 +05:30
Ashish Kumar Yadav
27772dfbfe
Nothing
2021-07-25 19:06:04 +05:30
Ashish Kumar Yadav
60ec89c717
Cleanup - PKGBUILD, config.mk
2021-07-25 18:49:54 +05:30
Ashish Kumar Yadav
e2caf4aebf
Changed ST_NEWTERM_PWD to NEWTERM_PWD
2021-07-25 16:31:03 +05:30
Ashish Kumar Yadav
2c5dfb65d3
Added TryExec to desktop file
2021-07-25 15:36:59 +05:30
Ashish Kumar Yadav
fe6cf64326
Workaround for chdir resolving symlinks
2021-07-25 11:00:35 +05:30
Ashish Kumar Yadav
22e70e49ef
Revert "Increased latency to prevent ranger flickering"
...
This reverts commit 54c8d61f1d
.
Flickering was due to added treset on resize
2021-07-24 20:38:34 +05:30
Ashish Kumar Yadav
e7a48f32e1
Added TODO.md
2021-07-24 20:30:39 +05:30
Ashish Kumar Yadav
54c8d61f1d
Increased latency to prevent ranger flickering
2021-07-24 20:29:35 +05:30
Ashish Kumar Yadav
4d8db8a6ad
stat is the right choice; lstat fails for symbolic link CWDs
2021-07-23 23:52:51 +05:30
Ashish Kumar Yadav
48b8917e7d
Naive fix for "altscreen content in scrollback history" issue
2021-07-23 19:30:36 +05:30
Ashish Kumar Yadav
b14f78dc6d
col and row are always MAX(_, 1)
2021-07-23 17:25:13 +05:30