<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/unit/msgpack_spec.lua, branch fix_repeatcmdline</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>fix(rpc): "grid_line" event parsing crashes (#25581)</title>
<updated>2023-11-03T22:56:45+00:00</updated>
<author>
<name>LW</name>
<email>git@llllvvuu.dev</email>
</author>
<published>2023-11-03T22:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=468292dcb743c79714b030557cf2754b7b5bf07d'/>
<id>468292dcb743c79714b030557cf2754b7b5bf07d</id>
<content type='text'>
refactor: use a more idiomatic loop to iterate over the cells

There are two cases in which the following assertion would fail:
```c
assert(g-&gt;icell &lt; g-&gt;ncells);
```

1. If `g-&gt;ncells = 0`. Update this to be legal.
2. If an EOF is reached while parsing `wrap`. In this case, the unpacker
   attempts to resume from `cells`, which is a bug. Create a new state
   for parsing `wrap`.

Reference: https://neovim.io/doc/user/ui.html#ui-event-grid_line</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refactor: use a more idiomatic loop to iterate over the cells

There are two cases in which the following assertion would fail:
```c
assert(g-&gt;icell &lt; g-&gt;ncells);
```

1. If `g-&gt;ncells = 0`. Update this to be legal.
2. If an EOF is reached while parsing `wrap`. In this case, the unpacker
   attempts to resume from `cells`, which is a bug. Create a new state
   for parsing `wrap`.

Reference: https://neovim.io/doc/user/ui.html#ui-event-grid_line</pre>
</div>
</content>
</entry>
</feed>
