# How to combine prettytables and pager?

**URL:** https://discourse.julialang.org/t/how-to-combine-prettytables-and-pager/85593
**Category:** General Usage
**Tags:** dataframes, prettytables, inmemorydatasets, terminalpager
**Created:** [August 10, 2022, 7:18pm UTC](https://discourse.julialang.org/t/how-to-combine-prettytables-and-pager/85593 "2022-08-10T19:18:55Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)
#### Post date: [August 11, 2022, 6:41am UTC](https://discourse.julialang.org/t/how-to-combine-prettytables-and-pager/85593/4 "2022-08-11T06:41:52Z")

</div>

Replace the last three lines with:

```julia
io = IOContext(IOBuffer(), :color => true);
show(io, ds, show_row_number=false, eltypes=false)
pager(String(take!(io.io)), frozen_rows=2)

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-combine-prettytables-and-pager/85593)._
