<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/selection.c, branch 0.9.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-09-25T17:26:55Z</updated>
<entry>
<title>selection: primary: don't require compositor to implement it</title>
<updated>2019-09-25T17:26:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-25T17:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=16f15d1a36a30e79e0ad42dd05746bb04bc0d7dd'/>
<id>urn:sha1:16f15d1a36a30e79e0ad42dd05746bb04bc0d7dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: allow selections while searching scrollback</title>
<updated>2019-08-27T18:57:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-27T18:57:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=58d0657a97d9e9f7c31ac7306ba7e2912821ebb2'/>
<id>urn:sha1:58d0657a97d9e9f7c31ac7306ba7e2912821ebb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: regression: last cell wasn't included in copied text</title>
<updated>2019-08-10T18:22:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-10T18:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=75830ba016f597ac9ad7a09bc469e7023cec01b2'/>
<id>urn:sha1:75830ba016f597ac9ad7a09bc469e7023cec01b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: implement copy/paste to/from primary</title>
<updated>2019-08-09T19:27:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-09T19:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=15afd267168f987a4ce46c29375a3df09c4f9a1a'/>
<id>urn:sha1:15afd267168f987a4ce46c29375a3df09c4f9a1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: don't paste from primary if client is mouse tracking</title>
<updated>2019-08-09T19:26:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-09T19:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=70b6d9d7d2969ea704780cad5017a43a66e9670a'/>
<id>urn:sha1:70b6d9d7d2969ea704780cad5017a43a66e9670a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: allow selection when mouse tracking is enabled *if* shift is pressed</title>
<updated>2019-08-08T15:58:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-08T15:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=28a8b18c5e4059a250f1bc439ceabe96ad330ed1'/>
<id>urn:sha1:28a8b18c5e4059a250f1bc439ceabe96ad330ed1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection/input: triple click selects an entire row</title>
<updated>2019-08-06T17:32:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-06T17:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=481a1cd6780233888fa1132242cb96f20ab14b73'/>
<id>urn:sha1:481a1cd6780233888fa1132242cb96f20ab14b73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: cancel selection when scrolling wraps</title>
<updated>2019-08-05T18:16:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-05T18:16:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c06f141189c51450be3bfd896b9df7a9d423e79d'/>
<id>urn:sha1:c06f141189c51450be3bfd896b9df7a9d423e79d</id>
<content type='text'>
If we scroll enough, we'll eventually end up wrapping around the
entire scrollback buffer. At this point, a selection is no longer
valid, so cancel it.

Note: this was very obvious when scrolling in the alt screen, since
its scrollback buffer is what you see on the screen (i.e. it has no
scrollback).
</content>
</entry>
<entry>
<title>selection: ensure start &lt; end in finalize</title>
<updated>2019-08-05T18:15:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-05T18:15:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1e08d93528dd8c8feacbb2f58106588903f60a22'/>
<id>urn:sha1:1e08d93528dd8c8feacbb2f58106588903f60a22</id>
<content type='text'>
When the selection is finalized, swap start/end if necessary, to make
sure start &lt;= end.
</content>
</entry>
<entry>
<title>selection: mark-word using spaces only as word separator</title>
<updated>2019-08-05T17:02:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-05T17:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c62ce72778e2be00bea2c461f6bf8447d28708c7'/>
<id>urn:sha1:c62ce72778e2be00bea2c461f6bf8447d28708c7</id>
<content type='text'>
When the user double-clicks with ctrl pressed, we now select the word
under the cursor using spaces only as word separator.
</content>
</entry>
<entry>
<title>selection: only disable selection when mouse drag/motion is on</title>
<updated>2019-08-04T17:15:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-04T17:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3ae210d4c5100e484b4a3b1cee1c605e15759993'/>
<id>urn:sha1:3ae210d4c5100e484b4a3b1cee1c605e15759993</id>
<content type='text'>
This allows us to select text in e.g. man/less while still being able
to use LESS=--MOUSE (i.e. enable scrolling with mouse).
</content>
</entry>
<entry>
<title>selection: insert newlines only when last column is empty</title>
<updated>2019-08-04T11:07:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-04T11:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8deead14e81ac53405b668df3332b1f84f8f658d'/>
<id>urn:sha1:8deead14e81ac53405b668df3332b1f84f8f658d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: pack more efficiently and store glyph as a wchar</title>
<updated>2019-08-02T16:19:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-02T16:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d7993b36fa3f97e26c527c37b36eb9321b79791'/>
<id>urn:sha1:4d7993b36fa3f97e26c527c37b36eb9321b79791</id>
<content type='text'>
The 'attributes' struct is now 8 bytes and naturally packed (used to
be 9 bytes, artificially packed).

'cell' struct is now 12 bytes, naturally packed (used to be 13 bytes,
artificially packed).

Furthermore, the glyph is stored as a wchar instead of a char*. This
makes it easier (faster) to do glyph lookup when rendering.
</content>
</entry>
<entry>
<title>selection: add a couple of word-breaking characters</title>
<updated>2019-07-30T19:57:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T19:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b82dc02505ec2836b7d3fa1488d9a26367cdf5a8'/>
<id>urn:sha1:b82dc02505ec2836b7d3fa1488d9a26367cdf5a8</id>
<content type='text'>
When "auto-selecting" a word, we used to only break on space
characters. Now we break on a number of other characters as
well.
</content>
</entry>
<entry>
<title>render: add render_refresh()</title>
<updated>2019-07-24T18:11:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-24T18:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ebf0a11fa00465c142d0c98ea1f10c9cd39848ea'/>
<id>urn:sha1:ebf0a11fa00465c142d0c98ea1f10c9cd39848ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: add text_from_clipboard()</title>
<updated>2019-07-19T12:20:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-19T12:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=793c37923ebae5251ed55f7d55bc026b2e511fa0'/>
<id>urn:sha1:793c37923ebae5251ed55f7d55bc026b2e511fa0</id>
<content type='text'>
This function reads data from the clipboard, and calls a user-provided
callback for each chunk of clipboard data.
</content>
</entry>
<entry>
<title>selection: add text_to_clipboard()</title>
<updated>2019-07-19T09:12:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-19T09:12:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=167036ccbea9af961c2635226a7c9746f2f8cbf5'/>
<id>urn:sha1:167036ccbea9af961c2635226a7c9746f2f8cbf5</id>
<content type='text'>
This function takes a string and makes it available to the clipboard.
</content>
</entry>
<entry>
<title>selection: implement double-click-to-select-word</title>
<updated>2019-07-17T19:30:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-17T19:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8bd969262b091b910560d183c57df5ee09805fbb'/>
<id>urn:sha1:8bd969262b091b910560d183c57df5ee09805fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: bug: apply grid's view offset when starting a selection</title>
<updated>2019-07-17T10:59:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-17T10:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f669cce5b9970b074aa81412f0722e280e368444'/>
<id>urn:sha1:f669cce5b9970b074aa81412f0722e280e368444</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use vt_to_slave() instead of calling write(term-&gt;ptmx, ...) everywhere</title>
<updated>2019-07-15T13:42:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-15T13:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7379198f4a849dc12e48763084684ca6bab9a1c5'/>
<id>urn:sha1:7379198f4a849dc12e48763084684ca6bab9a1c5</id>
<content type='text'>
</content>
</entry>
</feed>
