Joe Wilm
149fbaef09
Fix glyph offsets in cell
...
We previously had a hard-coded value for aligning glyphs within cells.
The font descent is now used, and the offset should be correct by
default.
2017-05-06 12:53:54 -07:00
Joe Wilm
6659810a22
Update build instructions about Homebrew Rust bug
2017-05-03 10:45:06 -07:00
Joe Wilm
b9c8515f0d
Remove old note about Mesa bug
2017-05-03 10:42:47 -07:00
Joe Wilm
900a2c5fa5
Fix whitespace in README
2017-05-03 10:42:17 -07:00
Joe Wilm
f298e0455a
Fix bug with tab rendering
...
Closes #494 .
Resolves #529 .
Resolves #512 .
Resolves #493 .
2017-05-01 09:56:42 -07:00
Aaron Williamson
f06be732a2
Combine FontOffset and GlyphOffset structs into Delta struct
...
The two structs are very similar, so there is no reason for them to be
separate. Instead combine them into a single Delta struct, which can be
used to shift a point in a two dimensional plane.
2017-05-01 08:52:22 -07:00
Aaron Williamson
0a1dc56bcf
Add glyph offset option to user configuration
...
Add the ability to move glyphs within their cells on a global basis via
an option in the configuration file.
2017-05-01 08:52:22 -07:00
Aaron Williamson
1277e07671
Remove unnecessary size argument to metrics function
...
The changes to metric consumption rendered the size argument
unnecessary, remove it.
2017-05-01 08:52:22 -07:00
Aaron Williamson
7fc50f6690
Improve freetype metric usage
...
The font metrics function was using freetype metrics in an ineffective
way, improve the use of those metrics and remove the now unnecessary
separate default values for font offset in linux.
2017-05-01 08:52:22 -07:00
Joe Wilm
ac2a1ece9e
Add script for spawning alacritty in CWD
...
The script uses the recently added _NET_WM_PID window property for
finding the program running in Alacritty, fetching its working
directory, and spawning a new Alacritty using that directory.
2017-05-01 08:36:09 -07:00
Joe Wilm
574586045f
Support setting _NET_WM_PID in X11 environments
...
Support is added for setting _NET_WM_PID automatically. This is to
support scripting of the window environment. For example, this makes it
possible to script opening a window with same CWD:
1. Retrieve the current window
2. (new) get PID of window
3. Check if it's Alacritty, find first child (presumably a shell), and
get the child's cwd.
4. Spawn new instance of terminal with cwd.
Unaddressed in this commit is how this will coexist on a Wayland system.
2017-05-01 08:36:09 -07:00
Joe Wilm
09031decc0
Support insert mode
2017-05-01 08:21:42 -07:00
Joe Wilm
9c557407d6
Add limit check in scroll_up/down_relative
2017-05-01 08:21:42 -07:00
Joe Wilm
7d20d29f37
Implement tab stop manipulation
...
Adds implementations for TBC (tabulation clear) and HTS (set horizontal
tabstop).
2017-05-01 08:21:42 -07:00
Maurice Berk
a99a69cfcb
Add trailing semicolons to Categories and Actions
2017-04-23 09:18:37 -07:00
Maurice Berk
48664ea678
Fix spelling of Categories
2017-04-23 09:18:37 -07:00
Joe Wilm
d372f2e591
Update TERM config comment
...
The previous comment was ambiguous and lead to questions on the tracker
and in IRC.
2017-04-21 16:24:54 -07:00
Joe Wilm
44b238bff8
Remove unused limit function
2017-04-20 10:18:05 -07:00
Joe Wilm
346ec09af5
Fix some bugs with resize
2017-04-20 10:13:28 -07:00
Joe Wilm
7df35a30ea
Fix issue with back_color_erase
...
back_color_erase should not set flags like bold, underline, etc.
2017-04-19 20:43:02 -07:00
Joe Wilm
8963e97a5a
Add more vttest ref tests
2017-04-19 20:24:02 -07:00
Joe Wilm
811cb266d2
Add reftest for vttest 2 scroll
2017-04-19 20:19:04 -07:00
Joe Wilm
faa2dc11e4
Pass scrolling region tests in vttest 2
2017-04-19 20:17:06 -07:00
Joe Wilm
77295e7f9e
Partially add DECCOLM support
...
It's not possible with DECCOLM to temporarily set 80 or 132 column mode
since the function is a toggle between the two. Instead, only the
additional affects are run in order to get closer to passing vttest.
vttest will never be perfect due to the column mode issue.
2017-04-19 09:03:33 -07:00
Joe Wilm
197e910d63
Support DECOM (Origin Mode)
2017-04-18 22:59:24 -07:00
Zach Day
2bcd165a78
Add CLI arg for setting working directory
...
Resolves #478 .
2017-04-18 19:53:31 -07:00
Joe Wilm
a3d00f01b1
Fixes for vttest cursor movement screen 1
2017-04-18 19:53:31 -07:00
Joe Wilm
a27f166ef9
Implement LF/NL
2017-04-18 19:53:31 -07:00
Joe Wilm
35f8f152cf
Fix delete key binding for macOS
2017-04-18 19:33:23 -07:00
Jan Holthuis
b169459c99
Fix delete key binding
...
Resolves jwilm/alacritty#192 .
2017-04-18 19:33:23 -07:00
Joe Wilm
7bc1691b0f
Add ref test for tab rendering
2017-04-04 09:03:33 -07:00
Roman Shmatov
302ba5adc6
fix tabulation rendering
2017-04-04 09:03:33 -07:00
Joe Wilm
9acd612b23
Better error handling in event loop
...
Also checks hup first since if the terminal is either not readable or
writable there's nothing for Alacritty to do.
Closes #480 .
2017-04-03 21:34:21 -07:00
Lukas Holecek
52c979bc08
Fix hang on exit after child process failed
...
Quick test (works ~50%) is to press Ctrl+C followed by Ctrl+D.
Reproducible on Arch Linux with OpenGL from NVidia.
Fixes #228
2017-04-03 21:34:06 -07:00
Michel Boaventura
4dcd7c4c0d
Enable Shift + Insert to paste
...
Shift + Insert is a default bind to paste selection.
2017-04-03 20:54:04 -07:00
Justin Charette
5b079f6d43
Do not replace $SHELL with --command option
...
Signed-off-by: Justin Charette <charetjc@gmail.com>
2017-04-03 20:46:08 -07:00
Joe Wilm
2d1af06c2d
Update ref tests
...
Implementing BCE caused a few ref tests to fail erroneously.
2017-04-03 20:44:23 -07:00
Joe Wilm
79576b6c0b
Add better printing for ref test failure
...
The previous format was extremely difficult for a human to parse.
2017-04-03 20:44:23 -07:00
Joe Wilm
a66d19f633
Fix issue with htop rendering incorrectly
...
Since we're emulating xterm, we need to support back_color_erase. If
this is found to cause any issues, please open a ticket on GitHub.
Resolves #85 .
2017-04-03 20:44:23 -07:00
Zetok Zalbavar
8d4c10dad6
Remap Copy
and Paste
to use Shift + Control
instead of Command
...
Closes #307 .
2017-03-27 09:09:47 -07:00
Niklas Claesson
715d4f8be8
Add Action to desktop file
...
The added Action allows the user to open new alacritty windows on
systems that support it.
https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions
2017-03-08 12:00:38 -08:00
Joe Wilm
3c6b32014c
Merge pull request #462 from brycefisher/cema-mac-app-tweaks
...
OSX: Add app packing tooling - tweaks and polish
2017-03-08 07:47:25 -08:00
Bryce Fisher-Fleig
8445c761f0
Setup locale properly in new shell (thanks @casimir)
2017-03-07 09:09:43 -08:00
Bryce Fisher-Fleig
ad56e3b761
(fix) Associates .desktop file with running process in Linux desktop OSes
...
Addresses #455
2017-03-06 14:42:30 -08:00
Bryce Fisher-Fleig
86b0708143
Remove LSEnvironment from info.plist
...
This seems to have broken the app by triggering a 'LSOpenWithUrls' error. However, I suspect this is why the path is not passed into the alacritty shell properly.
2017-03-06 11:47:27 -08:00
Bryce Fisher-Fleig
018beee8b6
Changes recommended by @mondras
2017-03-06 10:27:25 -08:00
Semyon Pisarev
e63a52d4db
Fix launcher script
2017-03-06 10:27:25 -08:00
Semyon Pisarev
6f5c2552c8
Add LSEnvironment
2017-03-06 10:27:25 -08:00
Semyon Pisarev
2f0e31888f
Add tiny wrapper to start from '$HOME'
2017-03-06 10:27:25 -08:00
Semyon Pisarev
dc72b1324f
Add install target
2017-03-06 10:27:25 -08:00